Hi folks,
I think I'm missing something with Core Data. Value attributes always appear to
be stored as an NSNumber with the exception of Decimal types which are stored
as NSDecimalNumber. If I choose an attribute to be INT64 then this type doesn't
seem to be enforced. I can store any valid NSNum
el Hyde [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 4 November 2008 9:38 AM
To: HAMILTON, Steven
Subject: Re: FW: NSNumberFormatter: Display INT as decimal
Can you not simply cast to float, divide by your scaling factor, and
display the result at display time? Then you can just use the normal
float form
My god, I think I was on too much coffee when I wrote that. Sorry folks, I’ll
explain further.
I have an NSTableView with a NSTextfield in it with an NSNumberFormatter
attached. I wish to display INT values in this Textfield but format them in
such a way that a decimal point appears 2 digits fro
Hi folks,
Can someone tell me how I create an NSDecimal? The C struct one, not the ObjC
NSDecimalNumber. For performance and simplicity I'd rather use the C interface
but for the life of me I can't find out how to actually create one of these and
assign a value to it.
\\Declare
NSDecimal *deci
Hi folks,
The Apple HIG describes bottombars but gives graphical examples that I can't
achieve. They are using mainly iCalc as an example.
http://developer.apple.com/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGWindows/chapter_18_section_4.html#//apple_ref/doc/uid/2961-SW6
I
Great stuff. Thanks a lot, that works a treat.
Feed: Cocoa mail archive
Posted on: Monday, 29 September 2008 8:22 PM
Author: Steven Hamilton
Subject: NSManagedObject custom class & for loop
> The problem is when the code hits the for (transaction in
> transactions) loop it dumps to GDB with an ob
Hi Folks,
I have a NSTableview with a datasource consisting of an NSArray of
dictionaries. One column in my table has an NSPopupbuttonCell. The
content and contentValues are bound to a Core Data "Account" object.
I use a "name" property as my contentValue.
I'm having trouble changing