Core Data NSPopUpButtonCell and NSNumber
Core Data NSPopUpButtonCell and NSNumber
- Subject: Core Data NSPopUpButtonCell and NSNumber
- From: James Maxwell <email@hidden>
- Date: Sun, 23 May 2010 10:11:57 -0700
This shouldn't be a difficult problem, but how do I make a NSPopUpButtonCell load a list of numbers, and return the value of the number when selected? Originally I used a ComboBox, with pre-programmed values from IB, but it returned strings, not NSNumbers. This really should be simple, and maybe it is, but I can't find a simple way to do it. I'm using Core Data, and the object I'm trying to set in my model is type Integer 16.
J._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden