Adopt protocol properly

This commit is contained in:
Wongzigii
2015-08-22 12:17:22 +08:00
parent e8c64e724b
commit df646568d6
7 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ static CGPoint const LoginOnePasswordPadding = {9.0, 0.0f};
static NSInteger const LoginVerificationCodeNumberOfLines = 2;
@interface LoginViewController ()
@interface LoginViewController ()<UITextFieldDelegate>
@property (nonatomic, assign) BOOL isFromAddAccount;

View File

@@ -23,7 +23,7 @@
#import <SGNavigationProgress/UINavigationController+SGProgress.h>
@interface NoteController ()
@interface NoteController ()<SWTableViewCellDelegate>
@property (strong, nonatomic) NSIndexPath *indexPathToBeDeleted;
@property (strong, nonatomic) NSFetchedResultsController *searchedResultsController;

View File

@@ -43,7 +43,7 @@ typedef enum {
} PostSettingsRow;
@interface NoteSettingsTableViewController ()
@interface NoteSettingsTableViewController ()<UITextFieldDelegate>
@property (nonatomic, assign) BOOL preIsBlog;

View File

@@ -64,7 +64,7 @@ static NSDictionary *EnabledButtonBarStyle;
static NSInteger const MaximumNumberOfPictures = 10;
@interface NoteViewController () <CTAssetsPickerControllerDelegate, UINavigationControllerDelegate, UIImagePickerControllerDelegate, UIActionSheetDelegate>
@interface NoteViewController () <CTAssetsPickerControllerDelegate, UINavigationControllerDelegate, UIImagePickerControllerDelegate, UIActionSheetDelegate, WPMediaPickerViewControllerDelegate>
@property(nonatomic, strong) NSMutableDictionary *mediaAdded;
@property(nonatomic, strong) NSString *selectedMediaID;

View File

@@ -17,7 +17,7 @@
#import "Leas.h"
#import "NoteController.h"
@interface TagController ()
@interface TagController ()<SWTableViewCellDelegate>
// setting
@property (nonatomic, strong) Note *note;

View File

@@ -23,7 +23,7 @@
//
- (NSFetchedResultsController *) fetchedResultsControllerWithPredicate:(NSString *)predicateStr
withController:(UIViewController *)controller
withController:(UIViewController<NSFetchedResultsControllerDelegate> *)controller
notebook:(Notebook *)notebook
tag:(Tag *)tag
isBlog:(BOOL)isBlog

View File

@@ -13,7 +13,7 @@
#import "Common.h"
@interface LeaImageSliderViewController ()
@interface LeaImageSliderViewController ()<UIPageViewControllerDelegate>
{
UILabel *_label;
}