mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 08:12:28 +00:00
Sketched new Inspector view
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,9 @@
|
|||||||
|
|
||||||
@property (assign) IBOutlet NSImageView *itemImageView;
|
@property (assign) IBOutlet NSImageView *itemImageView;
|
||||||
@property (assign) IBOutlet NSTextField *itemNameTextfield;
|
@property (assign) IBOutlet NSTextField *itemNameTextfield;
|
||||||
|
@property (assign) IBOutlet NSTabView *tabView;
|
||||||
|
@property (assign) IBOutlet NSSegmentedControl *tabControl;
|
||||||
|
@property (assign) NSUInteger selectedIndex;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -24,9 +27,15 @@
|
|||||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
|
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
|
||||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||||
if (self) {
|
if (self) {
|
||||||
|
// init
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)didLoadView {
|
||||||
|
//[self.tabView bind:NSSelectedIndexBinding toObject:self.tabControl withKeyPath:@"selectedIndex" options:nil];
|
||||||
|
[self.tabControl bind:NSSelectedIndexBinding toObject:self withKeyPath:NSSelectedIndexBinding options:nil];
|
||||||
|
[self.tabView bind:NSSelectedIndexBinding toObject:self withKeyPath:NSSelectedIndexBinding options:nil];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>421</string>
|
<string>42E</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user