Thanks Gwynne and Mike, that clears it up. I didn’t think about the missing -string method. When I remove the getter from my custom class it behaves the same and that was what I wanted to see.
On 25.05.2009, at 00:21, Michael Ash wrote:
And neither should you. Your use of the dot syntax here is incorrect, because 'string' is not a property of NSMutableString as the ObjC language defines (however vaguely) it.
Absolutely, I only use the dot notation for accessors. I never used something like that in real code.
I was only using it to figure out how the compiler does the transformation and I was looking specifically for a class that has a (void)setXXX: method that is not really a property accessor.
Thanks again _________________________________________________________________ Marc Liyanage http://www.entropy.ch _______________________________________________ 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 arch...@mail-archive.com