PageRenderTime 18ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/PSTreeGraphView/PSBaseBranchView.h

https://code.google.com/
C++ Header | 30 lines | 5 code | 9 blank | 16 comment | 0 complexity | 24d695f8d0dd744dd15b7a8e49723e15 MD5 | raw file
 1//
 2//  PSBaseBranchView.h
 3//  PSTreeGraphView
 4//
 5//  Created by Ed Preston on 7/25/10.
 6//  Copyright 2010 Preston Software. All rights reserved.
 7//
 8//
 9//  This is a port of the sample code from Max OS X to iOS (iPad).
10//
11//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”
12//
13
14
15#import <UIKit/UIKit.h>
16
17@class PSBaseTreeGraphView;
18
19
20/// Each SubtreeView has a BranchView subview that draws the connecting lines between its root node
21/// and its child subtrees.
22
23@interface PSBaseBranchView : UIView
24
25/// Link to the enclosing TreeGraph.  (The getter for this is a convenience method that ascends the view tree 
26/// until it encounters a TreeGraph.)
27
28@property (nonatomic, readonly) PSBaseTreeGraphView *enclosingTreeGraph;
29
30@end