Source

ProCoreData / chapter3 / League Manager / League Manager / MasterViewController.h

Full commit
//
//  MasterViewController.h
//  League Manager
//
//  Created by han pyanfield on 11-12-6.
//  Copyright (c) 2011年 pyanfield. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TeamViewController;

#import <CoreData/CoreData.h>

@interface MasterViewController : UITableViewController <NSFetchedResultsControllerDelegate>

@property (strong, nonatomic) TeamViewController *teamViewController;

@property (strong, nonatomic) NSFetchedResultsController *fetchedResultsController;
@property (strong, nonatomic) NSManagedObjectContext *managedObjectContext;

- (void)insertTeamWithName:(NSString*)name uniformColor:(NSString*)uniformColor;
- (void)saveContext;

@end