mirror of
https://github.com/leanote/leanote-ios.git
synced 2025-10-14 15:11:00 +00:00
Adopt protocol properly
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
#import <SGNavigationProgress/UINavigationController+SGProgress.h>
|
||||
|
||||
@interface NoteController ()
|
||||
@interface NoteController ()<SWTableViewCellDelegate>
|
||||
|
||||
@property (strong, nonatomic) NSIndexPath *indexPathToBeDeleted;
|
||||
@property (strong, nonatomic) NSFetchedResultsController *searchedResultsController;
|
||||
|
@@ -43,7 +43,7 @@ typedef enum {
|
||||
} PostSettingsRow;
|
||||
|
||||
|
||||
@interface NoteSettingsTableViewController ()
|
||||
@interface NoteSettingsTableViewController ()<UITextFieldDelegate>
|
||||
|
||||
@property (nonatomic, assign) BOOL preIsBlog;
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#import "Leas.h"
|
||||
#import "NoteController.h"
|
||||
|
||||
@interface TagController ()
|
||||
@interface TagController ()<SWTableViewCellDelegate>
|
||||
|
||||
// 从setting过来要用
|
||||
@property (nonatomic, strong) Note *note;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
// 把关于数据库操作的抽出来放到这里
|
||||
|
||||
- (NSFetchedResultsController *) fetchedResultsControllerWithPredicate:(NSString *)predicateStr
|
||||
withController:(UIViewController *)controller
|
||||
withController:(UIViewController<NSFetchedResultsControllerDelegate> *)controller
|
||||
notebook:(Notebook *)notebook
|
||||
tag:(Tag *)tag
|
||||
isBlog:(BOOL)isBlog
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
#import "Common.h"
|
||||
|
||||
@interface LeaImageSliderViewController ()
|
||||
@interface LeaImageSliderViewController ()<UIPageViewControllerDelegate>
|
||||
{
|
||||
UILabel *_label;
|
||||
}
|
||||
|
Reference in New Issue
Block a user