/PSTreeGraphView/PSBaseBranchView.h
https://code.google.com/ · C Header · 30 lines · 5 code · 9 blank · 16 comment · 0 complexity · 24d695f8d0dd744dd15b7a8e49723e15 MD5 · raw file
- //
- // PSBaseBranchView.h
- // PSTreeGraphView
- //
- // Created by Ed Preston on 7/25/10.
- // Copyright 2010 Preston Software. All rights reserved.
- //
- //
- // This is a port of the sample code from Max OS X to iOS (iPad).
- //
- // WWDC 2010 Session 141, Crafting Custom Cocoa Views
- //
- #import <UIKit/UIKit.h>
- @class PSBaseTreeGraphView;
- /// Each SubtreeView has a BranchView subview that draws the connecting lines between its root node
- /// and its child subtrees.
- @interface PSBaseBranchView : UIView
- /// Link to the enclosing TreeGraph. (The getter for this is a convenience method that ascends the view tree
- /// until it encounters a TreeGraph.)
- @property (nonatomic, readonly) PSBaseTreeGraphView *enclosingTreeGraph;
- @end