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