Objective-C Property Access

Nothing! Dot-notation is “syntactic sugar” introduced in Objective-C 2.0. In fact, the compiler converts foo.property to [foo property] during compile-time, so they compile to exactly the same thing.

It’s simply a matter of which you prefer.

Leave a Comment