Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 880 Bytes

README.markdown

File metadata and controls

14 lines (9 loc) · 880 Bytes

##Overview

JUInspectorView preview

JUInspectorView is a shameless copy of Xcode 5's inspector views. It draws a header with a title and then a custom NSView or NSView subclass as the body. There is a disclosure triangle to open/close the body views and everything is totally like in Xcode 5.

You can insert the JUInspectorViewContainer (the component which contains all the inspector views) into almost any other view hierarchy, although it makes more sense to add it into a NSScrollView which than can be put into whatever you want.

##Tips If you add a "fullscreen" (read: inspector filling) table view or text view or whatever draws a border, make it borderless! It looks horrible, really. You should also enable the automatic width autoresize mask flag for body views, setting the height flag has no effect.

##License MIT. Do whatever you want.