Skip to content
This repository
Browse code

nodeViewNibBundle removed

In UIKit, applications can load nib files only from their main bundle..
see Resource Programming Guide.
  • Loading branch information...
commit d4ce09514f886ad290edd0a9aef7ceef3d0bf892 1 parent 878a7ee
Ed Preston authored
6 PSTreeGraphView/PSBaseTreeGraphView.h
@@ -148,12 +148,6 @@ typedef enum {
148 148
149 149 @property (nonatomic, copy) NSString *nodeViewNibName;
150 150
151   -/// The NSBundle from which the .nib named by nodeViewNibName can be loaded. May be nil, in which
152   -/// case we follow the usual UIKit-implemented rules for automatically finding the named .nib
153   -/// file.
154   -
155   -@property (nonatomic, retain) NSBundle *nodeViewNibBundle;
156   -
157 151
158 152 #pragma mark - Selection State
159 153
16 PSTreeGraphView/PSBaseTreeGraphView.m
@@ -124,22 +124,6 @@ - (void)setNodeViewNibName:(NSString *)newName
124 124 }
125 125 }
126 126
127   -@synthesize nodeViewNibBundle = _nodeViewNibBundle;
128   -
129   -- (void) setNodeViewNibBundle:(NSBundle *)newBundle
130   -{
131   - if (_nodeViewNibBundle != newBundle) {
132   -
133   - // iOS 4.0 and above ONLY
134   - [self setCachedNodeViewNib:nil];
135   -
136   - [_nodeViewNibBundle release];
137   - _nodeViewNibBundle = [newBundle retain];
138   -
139   - // TODO: Tear down and (later) rebuild view tree.
140   - }
141   -}
142   -
143 127
144 128 #pragma mark - Node View Nib Caching
145 129

0 comments on commit d4ce095

Please sign in to comment.
Something went wrong with that request. Please try again.