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
objectDidEndEditing bug?
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
objectDidEndEditing bug?
Subject
:
objectDidEndEditing bug?
From: Andrew Merenbach <
email@hidden
>
Date: Sat, 22 Jul 2006 10:00:27 -0700
Hi, all. I've been searching the archives and the docs, but haven't been able to find anything that answers this issue. I have a Core Data app and made a subclass of NSArrayController: in order to provide some custom behaviours. One such behaviour is to rearrange itself whenever its content array is altered.
To this end, I have employed an override of -objectDidEndEditing:. Yet it doesn't get called if an edit is cancelled (or, rather, if either the escape key is pressed, or no change is made before return is pressed).
Yet the docs say, of objectDidEndEditing, that is is "Invoked to inform the receiver that editor has committed or discarded its changes." That "or discarded" confuses me immensely, since aborting the editing process discards changes, as does not making any change (i.e., clicking on a table view item once to edit it, then immediately pressing return without typing or deleting any characters).
Is this a misinterpretation on my part, or is it either a bug or a mistake in the docs?
_______________________________________________
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
Prev by Date:
Re: How to track down this memory problem?
Next by Date:
Re: Finding out if an NSArray's contents are all equal
Previous by thread:
Re: Found a bug in Cocoa: where should I report it?
Next by thread:
Newbie Q on posing
Index(es):
Date
Thread