Tutorial: Beginners Objective-C Understand The Self Keyword And Properties

Objective-C has many nuances that can take some time to grasp that can be difficult to understand, as they are rarely seen in other languages.

Some of these nuances involve the self keyword.  When first starting out it may be difficult to figure out exactly where to use it.  Another nuance involves the “dot syntax” for properties that was added in Objective-C 2.0, and when programmers switch between this and the pre-2.0 syntax it can get very confusing.

Keith Harrison has created a very good tutorial explaining many of the confusing situations that can arise involving the self keyword, and properties and Objective-C 2.0.

You can find the tutorial on his blog here:
Understanding Your (Objective-C) Self

A very good read if you are starting out, and getting confused.

[via @rwenderlich]

iOS 5 by tutorials provides an extensive collection of hands-on tutorials (over 600 pages) with source code examples to help you understand the new APIs as quickly as possible.
Read more...
DeliciousTwitterFacebookLinkedInEmail

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can send a Tweet to @maniacdev on Twitter or submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

One Response to Tutorial: Beginners Objective-C Understand The Self Keyword And Properties

  1. Tutorial: Beginners Objective-C Understand The Self Keyword And Properties http://bit.ly/eof31t

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>