Re: Storing UInt64 in a Core Data attribute ?
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