Re: KVO: I get called on change, but then can't get the object

2008-06-01 Thread Hamish Allan
On Sun, Jun 1, 2008 at 1:02 AM, Scott Anguish [EMAIL PROTECTED] wrote: swearing isn't appropriate here. :-) After Apple have failed to fix this glaring known bug after another two major releases of the operating system? I beg to differ :P Hamish ___

Re: KVO: I get called on change, but then can't get the object

2008-06-01 Thread Quincey Morris
On Jun 1, 2008, at 12:49, Hamish Allan wrote: On Sun, Jun 1, 2008 at 1:02 AM, Scott Anguish [EMAIL PROTECTED] wrote: swearing isn't appropriate here. :-) After Apple have failed to fix this glaring known bug after another two major releases of the operating system? I beg to differ :P

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread j o a r
On May 31, 2008, at 12:21 AM, Rick Mann wrote: I registered to observe changes in the number column of my tree controller: [mItemsController addObserver: self forKeyPath: @selection.number options: (NSKeyValueObservingOptionNew)

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread Rick Mann
On May 31, 2008, at 00:32:30, j o a r wrote: Search for NSKeyValueObservingOptionNew here: Already using that: [mItemsController addObserver: self forKeyPath: @selection.number options: (NSKeyValueObservingOptionNew)

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread Hamish Allan
On Sat, May 31, 2008 at 8:48 AM, Rick Mann [EMAIL PROTECTED] wrote: On May 31, 2008, at 00:32:30, j o a r wrote: Search for NSKeyValueObservingOptionNew here: Already using that: Read it again: The change dictionary doesn't contain old and new values. This is not your fault, it's due to a

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread Jonathan del Strother
On Sat, May 31, 2008 at 10:03 AM, Hamish Allan [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 8:48 AM, Rick Mann [EMAIL PROTECTED] wrote: On May 31, 2008, at 00:32:30, j o a r wrote: Search for NSKeyValueObservingOptionNew here: Already using that: Read it again: The change dictionary

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread Hamish Allan
On Sat, May 31, 2008 at 11:11 AM, Jonathan del Strother [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 10:03 AM, Hamish Allan [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 8:48 AM, Rick Mann [EMAIL PROTECTED] wrote: On May 31, 2008, at 00:32:30, j o a r wrote: Search for

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread Rick Mann
On May 31, 2008, at 03:11:51, Jonathan del Strother wrote: I could've sworn that was fixed in Leopard, actually. Anyone tried it? I have ;-) -- Rick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread Scott Anguish
array controllers are not fully KVO compliant. they don't return change values. On May 31, 2008, at 3:21 AM, Rick Mann wrote: I registered to observe changes in the number column of my tree controller: [mItemsController addObserver: self forKeyPath:

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread Scott Anguish
On May 31, 2008, at 6:11 AM, Jonathan del Strother wrote: On Sat, May 31, 2008 at 10:03 AM, Hamish Allan [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 8:48 AM, Rick Mann [EMAIL PROTECTED] wrote: On May 31, 2008, at 00:32:30, j o a r wrote: Search for NSKeyValueObservingOptionNew