NSSplitView and autosave
NSSplitView and autosave
- Subject: NSSplitView and autosave
- From: Andreas Mayer <email@hidden>
- Date: Tue, 30 Aug 2011 17:14:18 +0200
NSSplitView's autosave is not working in an existing project of mine.
I created a small test project and there autosave works as intended.
When I create the same test window in a nib of my existing project, it doesn't.
The subview frames' data is correctly saved in the prefs file. But when the application is started next time, the split view will not show any subviews at all. The splitter is at the very top and the region below is empty.
Now, I worked around the problem by subclassing NSSplitView. That didn't take all that long and does what I want.
But I'd still like to know why the built in method fails.
So, any ideas anyone?
(This is on 10.7.1 with Xcode 4.1, latest SDK)
Andreas_______________________________________________
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