macOS 10.12, ObjC

Is it not possible to set the tag of an NSImageCell at runtime? 

At runtime when I do "myCell.tag = val;" I get a warning:  
   Stub implementation of -setTag by NSCell does nothing.

I have an array of 48 NSImageCells. I can't hard-code them in Xcode because 
don't know the tag values until runtime.
How can I accomplish this? 

-Carl

_______________________________________________

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