Skip to content

Example to make NSSplitView behave similar to Apple's "Notes" and "Mail" app

License

Notifications You must be signed in to change notification settings

billibala/SplitViewExample

Repository files navigation

SplitViewExample

OS X "Notes" and "Mail" app implement NSSplitView in different fashion.

This sample app contains both implementation that simulate both behavior.

Check these 2 source files for detail of each implementation:

  • DelegationSplitViewWindowController - NSSplitViewDelegate implementation that simulate "Mail" app
  • AutoLayoutSplitViewWindowController - auto layout NSSplitView implementation that simulate "Notes" app

Please check the wiki on why the classes are implemented the way they are.

About

Example to make NSSplitView behave similar to Apple's "Notes" and "Mail" app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published