CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

TBMInspectorView 1.0.3

TBMInspectorView 1.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Thore Bartholomäus.



  • By
  • Thore Bartholomäus

Alternativtext

TBMInspectorView is a copy of the Xcode 5's inspector view. It is pretty easy to setup and should be set as the documentView of a NSScrollView.

Adding to your Project

If your are using Cocoapods simply add the following to your Podfile

pod 'TBMInspectorView'

else add all .h and .m files you find the Classes folder to your project.

Getting started

Code from the example project for setting up the inspector view:

    TBMInspectorView *inspector = [[TBMInspectorView alloc] initWithFrame:NSMakeRect(0.0, 0.0, NSWidth(scrollView.frame), 0.0)];

    [inspector addView:view1 label:@"View 1" expanded:NO];
    [inspector addView:view2 label:@"View 2" expanded:YES];

    [scrollView setDocumentView:inspector];

Deployment

Supports 10.6+, no Autolayout

License

MIT