Skip to content

Instantly share code, notes, and snippets.

@NYiPhoneDeveloper
Created May 12, 2010 02:30
Show Gist options
  • Save NYiPhoneDeveloper/398135 to your computer and use it in GitHub Desktop.
Save NYiPhoneDeveloper/398135 to your computer and use it in GitHub Desktop.
#import <UIKit/UIKit.h>
#define kSelectedTabDefaultsKey @"Selected Tab"
enum {
kByName,
kByObject,
};
@interface ToDoListViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UITabBarDelegate, UIAlertViewDelegate, NSFetchedResultsControllerDelegate>
{
UITableView *tableView;
UITabBar *tabBar;
@private
NSFetchedResultsController *_fetchedResultsController;
}
@property (nonatomic, retain) IBOutlet UITableView *tableView;
@property (nonatomic, retain) IBOutlet UITabBar *tabBar;
@property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;
-(void) addObject;
-(IBAction) toggleEdit;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment