--- On Fri, 10/17/08, Ignacio Enriquez <[EMAIL PROTECTED]> wrote:

> Regarding former responses...
> "aObject.property"  is like using getter and
> setter methods (depending
> on the situation)
> and just "property" is going directly to the
> property ...
> Did I get it right? if so, why using setter methods when I
> can use it as it?

A property is just an interface. What they access is an instance variable. You 
should read the Objective-C 2.0 Programming Language document I linked you to. 
This is all explained there — I even linked directly to the part where it 
explains what the dot syntax means. It also sounds like the memory management 
guide would be useful:

http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html

Cheers,
Chuck

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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