New comers in the iPhone field have a hard time understanding the terminology, that has all the Technical mumbo-jumbo, the play hard definitions which do not make sense at all and the supremely complicated code which keeps everyone wondering...
Let us go over the most important terms a step at a time, you can even check out apple's documentation if you're interested in the high tech stuff!
Click here to see the apple documentation page
If you're a junior iPhone developer, people you come across will usually ask you these set of questions, when you go for an interview which is termed technical but is purely conceptual( sorry I do not consider conceptual interviews technical, it's for book worms, not for creative people like me )
What is a delegate?
In basic terms it means a representative... someone that represents a group/category or class. In iPhone terminology, it is the same, it is a representative!
I would say it is an object( say a postman 1) that another object(another postman 2) sends messages to when things happen(say mail is delivered from one post office to another) , so the delegate can handle app specific details( like a postman 1 can handle the address details to deliver the mail), the original object wasn't designed for ( not postman 2's job) . It's just a way of customizing(changing) behavior without sub-classing( without making additional categories in the code).
There simple enough!
Where do we use delegates in Xcode? we use it in classes that we create, which got to have access to certain parts of the classes we defined earlier, more like a son borrowing car keys from his dad, to have access to his car ( big object) or house keys.
There are a lot of other terminologies involved, but I can only go through the most basic one's , rest of them you can handle yourself!:p
What is a framework?
A framework is a hierarchical directory that encapsulates shared resources such as dynamic shared library, nib files, image files, document strings and reference documents, in a single package( in plain terms, it is a box full of goodies, which when opened and used correctly can help you perform the function that you desire to have in your final output, more aptly)
Multiple apps can use these resources simultaneously.
getting more technical here, I would state that a framework is also a bundle and it's contents can be accessed using core foundation bundle services with a cocoa NSBundle class ( if you don't have any idea about what I said, you need to go through the documentation and understand the basic terms, and then come back and enjoy this blog :))
Now ladies and gentlemen and people in between!
These frameworks, come in handy, these are collectively termed cocoa frameworks(which are application programming interfaces to handle much of the complex data), never mind the complex words I used.
Remember that UI(user interface) kit frameworks are used for interface designs like buttons/text boxes/ colors etc etc, most basic elements you need to create output like html forms( with all the simple silly details to be filled in )
Similarly there are other frameworks like core graphics frameworks, foundation frameworks, Audio Video(AV) foundation frameworks, etc and the list is too long ,which help you design and add effects to your iPhone applications. This is why I think if you understand the working of basic frameworks, you know half of iPhone design, rest depends on your use of adobe suite and implementing them in Xcode.
There are many other terminologies to discuss, but I don't want to make this blog lengthy and boring, if you don't understand any definition in the documentation.. just drop it in ,in the comment box below and I shall try to explain it to you in the best way possible...
Stay tuned for my new upcoming blog, It's about "Life cycle of an iPhone"(how things work around in the iPhone world)
Until then...
With Love and Respect,
Vishwan Aranha!
Big iPhone terms made small!
5:11 PM
|
Labels:
apple iphone,
delegate,
framework,
iphone delegate,
iphone documentation,
iphone framework,
iphone interview questions,
iphone sdk,
xcode
|
This entry was posted on 5:11 PM
and is filed under
apple iphone
,
delegate
,
framework
,
iphone delegate
,
iphone documentation
,
iphone framework
,
iphone interview questions
,
iphone sdk
,
xcode
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
Vishwan Aranha. Powered by Blogger.
Coding: Vishwan Aranha | Bloggerized by Vishwan Aranha
0 comments:
Post a Comment