• 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
Re: [SOLVED] Re: NSArrayController -- will change selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [SOLVED] Re: NSArrayController -- will change selection?
      • From: Kyle Sluder <email@hidden>
References: 
 >NSArrayController -- will change selection? (From: Stuart Malin <email@hidden>)
 >Re: NSArrayController -- will change selection? (From: Kyle Sluder <email@hidden>)
 >[SOLVED] Re: NSArrayController -- will change selection? (From: Stuart Malin <email@hidden>)
 >Re: [SOLVED] Re: NSArrayController -- will change selection? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSString to Integer
  • Next by Date: Re: [SOLVED] Re: NSArrayController -- will change selection?
  • Previous by thread: Re: [SOLVED] Re: NSArrayController -- will change selection?
  • Next by thread: Re: [SOLVED] Re: NSArrayController -- will change selection?
  • Index(es):
    • Date
    • Thread