KVC broken in 10.4.4 on Intel?
KVC broken in 10.4.4 on Intel?
- Subject: KVC broken in 10.4.4 on Intel?
- From: Da Woon Jung <email@hidden>
- Date: Sun, 29 Jan 2006 11:30:50 +0900
Hi,
On my PowerBook G4 (PPC), the following works fine:
- (void)setFaintestVisible: (float)aValue
{
NSLog(@"%f", aValue);
}
//...elsewhere, inside a method...
[self setValue:[NSNumber numberWithFloat: 7.9f] forKey:@"faintestVisible"];
// Prints 7.900000
However on an Intel iMac (OS X 10.4.4), it apparently prints 0.00000.
Shouldn't this be allowed according to the KVC spec? I thought scalar
unwrapping was supposed to be something I took for granted:
(http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/DataTypes.html#//apple_ref/doc/uid/20002171)
I first experienced this problem on the Intel DTK I had access too,
but I assumed it'd be fixed on production Intel iMacs. I don't own an
Intel iMac (not for sale yet here :( , but my beta testers do, and
they report the above issue.
Cheers,
DW
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden