mirror of
https://github.com/leanote/leanote-ios.git
synced 2025-10-15 23:54:46 +00:00
29 lines
976 B
Objective-C
Executable File
29 lines
976 B
Objective-C
Executable File
#import <UIKit/UIKit.h>
|
|
|
|
@class WPLegacyEditorViewController;
|
|
|
|
@protocol WPLegacyEditorViewControllerDelegate <NSObject>
|
|
@optional
|
|
|
|
- (BOOL)editorShouldBeginEditing:(WPLegacyEditorViewController *)editorController;
|
|
|
|
- (void)editorTitleDidChange:(WPLegacyEditorViewController *)editorController;
|
|
- (void)editorTextDidChange:(WPLegacyEditorViewController *)editorController;
|
|
|
|
- (void)editorDidPressSettings:(WPLegacyEditorViewController *)editorController;
|
|
- (void)editorDidPressMedia:(WPLegacyEditorViewController *)editorController;
|
|
- (void)editorDidPressPreview:(WPLegacyEditorViewController *)editorController;
|
|
@end
|
|
|
|
@interface WPLegacyEditorViewController : UIViewController
|
|
|
|
@property (nonatomic, weak) id<WPLegacyEditorViewControllerDelegate> delegate;
|
|
@property (nonatomic, copy) NSString *titleText;
|
|
@property (nonatomic, copy) NSString *bodyText;
|
|
@property (nonatomic) BOOL isShowingKeyboard;
|
|
@property (nonatomic) BOOL isExternalKeyboard;
|
|
|
|
- (void)stopEditing;
|
|
|
|
@end
|