• 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
Re: integer value in NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: integer value in NSTableColumn


  • Subject: Re: integer value in NSTableColumn
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 19 Jul 2007 12:10:28 -0400

On 7/19/07, Andres <email@hidden> wrote:
Unacceptable type of value for attribute: property = "quantity"; desired
type = NSNumber; given type = NSCFString; value = 6.
How do I resolve the that the table is using NSStrings and the array
controller is storing the values as NSNumbers?

See "NSNumberFormatter"

--
I.S.
_______________________________________________

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


References: 
 >integer value in NSTableColumn (From: Andres <email@hidden>)

  • Prev by Date: integer value in NSTableColumn
  • Next by Date: Re: Binding NSMenuItem state
  • Previous by thread: integer value in NSTableColumn
  • Next by thread: Character set mysteriously becomes null
  • Index(es):
    • Date
    • Thread