Tuesday, September 27, 2011

Properties make sense!

Ok, I finally put 2 and 2 together and understand the basics of the @property thing. Lance sent me a link for this blog that has some very helpful stuff on it. I was really struggling with assigning fields in a class and getting all kinds of crazy errors and app crashes. Turns out creating a property as a reference to a field in my class makes the whole thing trivial to use. Makes it more like old-school C that I'm used to. I'm still a bit confused by Objective-C, but at least I'm starting to shake off some of the dust and loosen the hold that Java had on me.

No comments:

Post a Comment