/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
iphone/Maps/UI/Editor/Cells/MWMNoteCell.h
27 строк
726 B
Aleksey Belousov
[iOS] [refactoring] replace legacy EditBookmarkViewController with implementation in swift
07 июл 2020, 13:33
07 июл 2020, 13:33
638acd9
Код
Авторство
О чём код?
#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