Re: [SOLVED] Re: NSArrayController -- will change selection?
Re: [SOLVED] Re: NSArrayController -- will change selection?
- Subject: Re: [SOLVED] Re: NSArrayController -- will change selection?
- From: Stuart Malin <email@hidden>
- Date: Sat, 7 Mar 2009 15:55:44 -1000
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 (email@hidden)
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:
This email sent to email@hidden