> On Mar 3, 2016, at 1:32 PM, Quincey Morris > <[email protected]> wrote: > > — There’s nothing wrong with using MainWindowController as your restoration > class (AFAIK), because the restoration method is a static func. > > OTOH, there’s no particular reason, in *this* part of the restoration > mechanism, to tie restoration to the window controller at all. In a sense, > the window controller has nothing to do with it, except to the extent that > the timing of its instantiation determines the time of window loading. > > There may be other reasons to tie restoration to the window controller. I’ll > come back to that point later....
Quincey, that was very helpful and thought-provoking. It will take me a day or so to digest and play with it, but you have opened my eyes to more of the workings of state restoration. Thanks. If I come to any useful conclusions, I'll report back. -- Bill Cheeseman - [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
