sorry. I didn't see the part in the writeup where it mentiosn NSArrayControler. Still wasn't a bad exercise for me though.
On Sun, Jun 29, 2008 at 4:39 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > ah. I see. > > I would still love to know why the apple devs haven't gotten around to do > this yet. :) > > > On Sun, Jun 29, 2008 at 4:37 PM, Scott Anguish <[EMAIL PROTECTED]> wrote: > >> the controller classes don't return old and new values, that's the part >> that isn't implemented. >> >> your own classes (provided they're written in a KVO compliant manner) will >> return both. >> >> >> >> On Jun 29, 2008, at 7:32 PM, Alex Wait wrote: >> >> weird. I tried this: >>> >>> [newPerson addObserver:observe forKeyPath:@"lastName" options:( >>> NSKeyValueObservingOptionOld| NSKeyValueObservingOptionNew) >>> context:NULL]; >>> >>> and below is my method >>> >>> NSLog(@"observing"); >>> >>> //int oldLastName = [change o]; >>> id oldName = [change objectForKey:NSKeyValueChangeOldKey]; >>> id newName = [change objectForKey:NSKeyValueChangeNewKey]; >>> >>> NSLog(@"old value was %@", oldName); >>> NSLog(@"new value was %@", newName); >>> >>> } >>> >>> >>> and sure enough I get both the new value and the old value. Am I shooting >>> past the problem? >>> >>> On Sun, Jun 29, 2008 at 3:45 PM, Hamish Allan <[EMAIL PROTECTED]> wrote: >>> >>> On Sun, Jun 29, 2008 at 9:48 PM, Alex Wait <[EMAIL PROTECTED]> wrote: >>>> >>>> But does the bug it talks about still exist? >>>>> >>>> >>>> I'm afraid so. But what I really want to know is, *why* won't it be >>>> fixed any time soon? I presume there *is* a reason, otherwise why >>>> would mmalc make such a claim? >>>> >>>> Hamish >>>> >>>> >>> >>> >>> -- >>> If you can't be kind, at least have the decency to be vague. >>> _______________________________________________ >>> >>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >>> >>> Please do not post admin requests or moderator comments to the list. >>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >>> >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/cocoa-dev/scott%40cocoadoc.com >>> >>> This email sent to [EMAIL PROTECTED] >>> >> >> > > > -- > If you can't be kind, at least have the decency to be vague. > -- If you can't be kind, at least have the decency to be vague. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]