RootViewController.h Open source code 2013年10月14日 //// RootViewController.h// PlainNote////#import <UIKit/UIKit.h>@interface RootViewController : UITableViewController {NSMutableArray* Notes;IBOutlet UIBarButtonItem *addButtonItem;IBOutlet UITableView *listTableView;}@property (nonatomic, retain) NSMutableArray* Notes;@property (nonatomic, retain) UIBarButtonItem* addButtonItem;@property (nonatomic, retain) UIBarButtonItem* helpButton;@property (nonatomic, retain) UIBarButtonItem* syncButton;@property (nonatomic, retain) UITableView* listTableView;- (IBAction) addButtonPressed: (id) sender;- (NSString *)applicationDocumentsDirectory;- (void)createEditableCopyOfDatabaseIfNeeded;- (void) applicationWillTerminate: (NSNotification *)notification;@end [0回]PR