Objective-C is pretty awesome, I Highly suggest a Book by The Big Nerd Ranch. Objective-C is mainly about objects, i am intermediate in Objective-C not from the book i mentioned, but by Practicing app development instead of taking my time to learn the syntax and how to declare Instance Variables and Properties, i dug right in and little by little i learned what and how Objects interacted with one another.
Also, Objective-C is about classes, I see it like a Box of puzzels, you simply put them together to make an App, Thats my personal point of view. For example, Making an AlertView would go about:
Code
UIAlertView *helloMessage = [[UIAlertView alloc]initWithTitle:@"Hello User" message:@" Just an idea of how objectve-c works" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:@"Cancel", nil]
Which then would invoke an Alert message. UIAlertView is an Instance of a class from the Framework. you call this class by assigning a pointer called "helloMessage" you would Allocate memory for this instance calling the
alloc keword.
Then you would Initialize the rest by calling the
And finally you would invoke a method to call this AlertView to be showed on an app depending if you put it on a ViewDidLoad or on an IBAction which triggers it if a button is hit:
where
Code
helloMessage // Is the reciever
and
Code
show // is the selector
.
This kind of instance is defined in a ready to use framework in Objective-C, you just have to call it. Also, You can create your own classes and Objects to use in a very similar way.
Anyway, This is a very tiny example of an Objective-C kind of app function where it is easy for me to explain this than putting a harder example which would require more time to explain, Anyway, hope it helps to get a BIT of an idea of how objective-c works