On Mar 7, 2009, at 3:42 PM, Kyle Sluder wrote:

Just be careful to cover all other methods by which the user can
potentially lose data.  No longer is your controller responding to a
change in the selected model object, but instead to a change in the
selected row in the view.  It's unfortunate, but necessary in this
circumstance.

Yes -- I am also now trying to deal with an underlying window close as well. Am hooking in to the window's delegate method -windowShouldClose.

And, since I have a toolbar in the prefs window, need also to intercept changes to the displayed view.

Those are the only three means I am aware of (selection, window close, view change) that can potentially lead to loss of user data. Any others?





_______________________________________________

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 arch...@mail-archive.com

Reply via email to