mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 21:59:30 +00:00
Initial commit for Project with ignore file
This commit is contained in:
23
MacPass/MPOutlineDataSource.m
Normal file
23
MacPass/MPOutlineDataSource.m
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// MPOutlineDataSource.m
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 19.07.12.
|
||||
// Copyright (c) 2012 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPOutlineDataSource.h"
|
||||
|
||||
@implementation MPOutlineDataSource
|
||||
|
||||
- (NSInteger)outlineView:(NSOutlineView *)outlineView numberOfChildrenOfItem:(id)item {
|
||||
return 10;
|
||||
}
|
||||
- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)index ofItem:(id)item {
|
||||
return nil;
|
||||
}
|
||||
- (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item {
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user