In Objective-C from my understanding. [NSOnedayInstancedrink drink:*Beer]; Is the same as: NSOnedayInstancedrink.drink = *beer Why the difference, well from what I’ve been reading, you want to use a @property versus bracket notation in these use-case scenarioes: * Use @property to declare the state exposed by your objects. * Use dot notation to get and set [...]
Tags: iOS, iphone development, iphone-development OpenGL-ES snippet, note gotcha