• 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: Storing UInt64 in a Core Data attribute ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing UInt64 in a Core Data attribute ?


  • Subject: Re: Storing UInt64 in a Core Data attribute ?
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 5 Oct 2009 15:33:05 -0400
  • Organization: Rogue Research Inc.

On 10/5/09 8:31 PM, Guillaume Laurent said:

>Apparently, Core Data only handles signed int types for attributes. I

Yes, this has annoyed me too.  I believe the reason is because that's
how SQL does things.

>need to store UInt64 ones (MIDITimeStamp, more precisely), and to show
>these in a table column. Of course the displayed values are signed,
>some negative some not. Google didn't bring anything useful on that
>topic, has anybody been confronted with this problem ? What would be
>the best solution ?

You could store it as an NSNumber (using a 'transformable' type).

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >Storing UInt64 in a Core Data attribute ? (From: Guillaume Laurent <email@hidden>)

  • Prev by Date: Re: GLSLBasicsCocoaDL sample code
  • Next by Date: Re: NSToolbarGroupItem not showing labels of subitems
  • Previous by thread: Storing UInt64 in a Core Data attribute ?
  • Next by thread: [MEET] : Los Angeles CocoaHeads this Thursday 10/8 7:30pm
  • Index(es):
    • Date
    • Thread