• 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
KVC broken in 10.4.4 on Intel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: KVC broken in 10.4.4 on Intel?
      • From: Shawn Erickson <email@hidden>
    • Re: KVC broken in 10.4.4 on Intel?
      • From: Joe Jones <email@hidden>
  • Prev by Date: Re: Using Evan Schoemberg's Custom tabs
  • Next by Date: Re: Calculating the height of text in NSTextField
  • Previous by thread: Re: Forcing a table row to redraw
  • Next by thread: Re: KVC broken in 10.4.4 on Intel?
  • Index(es):
    • Date
    • Thread