Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
27
iphone/Maps/UI/Editor/Cells/MWMNoteCell.h
Normal file
27
iphone/Maps/UI/Editor/Cells/MWMNoteCell.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#import "MWMTableViewCell.h"
|
||||
|
||||
@class MWMNoteCell;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MWMNoteCellDelegate <NSObject>
|
||||
|
||||
- (void)cell:(MWMNoteCell *)cell didChangeSizeAndText:(NSString *)text;
|
||||
- (void)cell:(MWMNoteCell *)cell didFinishEditingWithText:(NSString *)text;
|
||||
|
||||
@end
|
||||
|
||||
@interface MWMNoteCell : MWMTableViewCell
|
||||
|
||||
@property(nonatomic, readonly, class) CGFloat minimalHeight;
|
||||
@property(nonatomic, readonly) CGFloat cellHeight;
|
||||
@property(nonatomic, readonly) CGFloat textViewContentHeight;
|
||||
|
||||
- (void)configWithDelegate:(id<MWMNoteCellDelegate>)delegate
|
||||
noteText:(NSString *)text
|
||||
placeholder:(NSString *)placeholder;
|
||||
- (void)updateTextViewForHeight:(CGFloat)height;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Loading…
Add table
Add a link
Reference in a new issue