On May 9, 2012, at 2:41 AM, Leandro Hoffman wrote:
> Rather than use: self.myTextField.stringValue = @"";
>
> Couldn't you use: self.myTextField.setStringValue = @""; ?
>
> --
> Leandro Hoffman
No. That's meaningless.
self.myTextField.stringValue = @"";
is just syntactic sugar for
[ self.myTextField setStringValue:@"" ];
is that what you meant? Doesn't matter which you write, you'll get the same
actual call either way, it will call setStringValue:
but xxx.setStringValue=@"" means nothing and wouldn't compile.
_______________________________________________
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]