On 8 Oct 2013, at 21:54, Lee Ann Rucker <lruc...@vmware.com> wrote:

> 
> On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote:
> 
>> The NSControl -tag property can be used to identify an action sender.
>> 
>> Can the NSUserInterfaceItemIdentification protocol property -identifier be 
>> safely used for the same purpose?
> 
> I don't know, but I'd prefer representedObject for something like that - 
> it'll only be used by your code, so you don't have any restrictions to worry 
> about.
> 
-tag and -identifier both have the advantage of being accessible from within IB.

J



_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to