• 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: KVO returning nil for old values, and mmalc's Graphics Bindings example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO returning nil for old values, and mmalc's Graphics Bindings example


  • Subject: Re: KVO returning nil for old values, and mmalc's Graphics Bindings example
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 19 May 2005 18:51:34 -0400
  • Organization: Rogue Research

On 2005-05-18 21:55, Tim Lucas said:

>Did anybody figure out why in mmalc's Graphics Bindings example he had
>to to the following workaround, because KVO wasn't returning the old
>values?
>
>Quoting "Graphics Bindings" example, GraphicsView.m,
>observeValueForKeyPath:ofObject:change:context:
>> /*
>> Should be able to use
>> NSArray *oldGraphics = [change objectForKey:NSKeyValueChangeOldKey];
>> etc. but the dictionary doesn't contain old and new arrays...??
>> */

Its simply a bug in the OS.  Maybe its fixed in 10.4?


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


 _______________________________________________
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

References: 
 >KVO returning nil for old values, and mmalc's Graphics Bindings example (From: Tim Lucas <email@hidden>)

  • Prev by Date: Re: Strange crashing bug
  • Next by Date: Re: functions vs methods
  • Previous by thread: Re: KVO returning nil for old values, and mmalc's Graphics Bindings example
  • Next by thread: CIImage - saving the file?
  • Index(es):
    • Date
    • Thread