I have a Settings scene, much like the iOS Settings app, with a table view. 
Each item segues to a unique scene via the show action. Each subscene then 
automatically gets a <Settings button to go back to the main Settings scene. 
When exiting each subscene, I want that controller's prepareForSegue:sender: to 
be called so I can save the settings to prefs at that point.

All the tutorials for handling unwiding that I can find add specific Unwind or 
Go Back buttons to the scene's view, rather than using the automatic < Settings 
button. How can I set up the unwind action for these automatic <Settings 
buttons?

Or should I instead just have all of the controls in each subscene just set the 
pref right when they're changed instead of waiting to unwind? That doesn't seem 
as efficient, plus it triggers my NSUserDefaultsDidChangeNotification back in 
the main app view to be called every time the user tries a different setting 
before deciding on a final setting. Or, go with OK and Cancel buttons?

--
Steve Mills
Drummer, Mac geek


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to