我正在教X-code的說明:這是什麼意思的參考?
「進入代碼並將參考從DrinkArray更改爲DrinksDirections。」
這究竟意味着什麼?
我會告訴你教程,除了它是一本花錢的書。
我發現DrinkArray的唯一引用是:
- (void)viewDidLoad {
[super viewDidLoad];
NSString *path = [[NSBundle mainBundle] pathForResource:@"DrinkArray" ofType:@"plist"];
NSMutableArray* tmpArray = [[NSMutableArray alloc] initWithContentsOfFile:path];
self.drinks = tmpArray;
[tmpArray release];
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
如果我們能看到教程,這將有所幫助。 – 2010-05-24 23:00:28