1. Alfonso Alba García
  2. nscodermad-demo-parse

Commits

Alfonso Alba García  committed b174957

Refactoring: Changing PTGrupoDataSourceProtocol to PTGroupCRUDDelegateProtocol

  • Participants
  • Parent commits 5a6a896
  • Branches master

Comments (0)

Files changed (3)

File ParseTest/PTAddGroupViewController.h

View file
  • Ignore whitespace
 
 @property (nonatomic, strong) NSArray *groups;
 @property (weak, nonatomic) IBOutlet UITextField *textField;
-@property (strong, nonatomic) id<PTGroupDataSourceProtocol> delegate;
+@property (strong, nonatomic) id<PTGroupCRUDDelegateProtocol> delegate;
 
 - (IBAction)saveGroup:(UIButton *)sender;
 @end

File ParseTest/PTGroupDataSourceProtocol.h

View file
  • Ignore whitespace
 
 #import <Foundation/Foundation.h>
 
-@protocol PTGroupDataSourceProtocol <NSObject>
+@protocol PTGroupCRUDDelegateProtocol <NSObject>
 
 @required
 - (void) addGroup:(NSString *)group;

File ParseTest/PTGroupsViewController.h

View file
  • Ignore whitespace
 
 #import <UIKit/UIKit.h>
 #import "PTGroupDataSourceProtocol.h"
-@interface PTGroupsViewController : UITableViewController <UITableViewDataSource, UITableViewDelegate, PTGroupDataSourceProtocol>
+@interface PTGroupsViewController : UITableViewController <UITableViewDataSource, UITableViewDelegate, PTGroupCRUDDelegateProtocol>
 
 @end