• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data NSPopUpButtonCell and NSNumber
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Core Data NSPopUpButtonCell and NSNumber
      • From: James Maxwell <email@hidden>
    • Re: Core Data NSPopUpButtonCell and NSNumber
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Using popup to select table items to display (Core Data app)
  • Next by Date: Re: Core Data NSPopUpButtonCell and NSNumber
  • Previous by thread: Re: Using popup to select table items to display (Core Data app)
  • Next by thread: Re: Core Data NSPopUpButtonCell and NSNumber
  • Index(es):
    • Date
    • Thread