(NB: This is a pure-Swift app, but I don't think that matters here).

OS X Storyboard app.

I set up a toolbar item with a sheet segue to a view controller. Works fine, 
but I can't find an appropriate place to put the prepareForSegue() call. The 
toolbar lives in the window, so I subclassed NSWindowController, but it doesn't 
get the call. I tried the content view controller, but it doesn't get called, 
either.

This severely limits what a storyboard is good for, since I can't set anything 
on the target, or otherwise communicate back to the caller.

Am I missing something?

-- 
Rick Mann
rm...@latencyzero.com



_______________________________________________

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