Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@epreston authored
View
6 PSTreeGraphView/PSBaseTreeGraphView.h
@@ -148,12 +148,6 @@ typedef enum {
@property (nonatomic, copy) NSString *nodeViewNibName;
-/// The NSBundle from which the .nib named by nodeViewNibName can be loaded. May be nil, in which
-/// case we follow the usual UIKit-implemented rules for automatically finding the named .nib
-/// file.
-
-@property (nonatomic, retain) NSBundle *nodeViewNibBundle;
-
#pragma mark - Selection State
View
16 PSTreeGraphView/PSBaseTreeGraphView.m
@@ -124,22 +124,6 @@ - (void)setNodeViewNibName:(NSString *)newName
}
}
-@synthesize nodeViewNibBundle = _nodeViewNibBundle;
-
-- (void) setNodeViewNibBundle:(NSBundle *)newBundle
-{
- if (_nodeViewNibBundle != newBundle) {
-
- // iOS 4.0 and above ONLY
- [self setCachedNodeViewNib:nil];
-
- [_nodeViewNibBundle release];
- _nodeViewNibBundle = [newBundle retain];
-
- // TODO: Tear down and (later) rebuild view tree.
- }
-}
-
#pragma mark - Node View Nib Caching

0 comments on commit d4ce095

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