interims update

This commit is contained in:
michael starke
2012-07-22 23:28:44 +02:00
parent 5687494582
commit 957b91cceb
9 changed files with 353 additions and 781 deletions

View File

@@ -11,8 +11,17 @@
@implementation MPOutlineViewDelegate
- (NSView *)outlineView:(NSOutlineView *)outlineView viewForTableColumn:(NSTableColumn *)tableColumn item:(id)item {
NSView *view = [outlineView makeViewWithIdentifier:@"OutlineViewCell" owner:self];
NSTableCellView *view = [outlineView makeViewWithIdentifier:@"OutlineCell" owner:self];
[view.imageView setImage:[NSImage imageNamed:NSImageNameFolder]];
[view.textField setStringValue:@"Test"];
return view;
}
- (BOOL)outlineView:(NSOutlineView *)outlineView isGroupItem:(id)item {
if(item == nil) {
return YES;
}
return NO;
}
@end