On Tue, Mar 31, 2009 at 3:56 PM, Jeremy Pereira <[email protected]> wrote:
> If you're a Java programmer, it might help to think of the objective C
> property like this:
>
> bar = self.foo;   // is equivalent to bar = this.getFoo();
> self.foo = bar;   // is equivalent to this.setFoo(bar);

Or better, keep it all in the language you're using:

bar = self.foo;   // is equivalent to bar = [self foo];
self.foo = bar;   // is equivalent to [self setFoo:bar];

Which gives you the literal truth, as that's exactly how it translates.

Mike
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to