Graphics Programs Reference
In-Depth Information
[allAssetTypes addObject:type];
}
return allAssetTypes;
}
Now you need change the user interface so that the user can see and change the BNRAs-
setType of the BNRItem in the DetailViewController .
Figure 16.12 Interface for BNRAssetType
Create a new Objective-C class template file and choose NSObject as the superclass.
Name this class AssetTypePicker .
In AssetTypePicker.h , forward declare BNRItem , change the superclass to UIT-
ableViewController , and give it a BNRItem property.
#import <UIKit/UIKit.h>
@class BNRItem;
@interface AssetTypePicker : UITableViewController
@interface AssetTypePicker : UITableViewController
Search WWH ::




Custom Search