• 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
NSSplitView and autosave
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Possible causes of "attempted layout while textStorage is editing"?
  • Next by Date: Re: drag and drop not working between windows on 10.7
  • Previous by thread: Re: Possible causes of "attempted layout while textStorage is editing"?
  • Next by thread: New Autosave behavior and NSDocument initializers
  • Index(es):
    • Date
    • Thread