bundle

1 NSBundle *bundle = [NSBundle mainBundle];
2 
3 [bundle loadNibNamed:@"cell" owner:nil option:nil ];
4 
5 NSBundle *bundle = [NSBundle mainBundle pathForResource:@"image" ofType:@"bundle"];
6 
7 NSBundle *bundle = [NSBundle bundleWithPath:path];
8 
9 NSArray* array = [bundle pathsForResourcesOfType:@"jpg" inDirectory:nil];

 

 

posted @ 2013-05-30 00:49  wangzhenxiang  阅读(162)  评论(0编辑  收藏  举报