mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-12 01:59:48 +01:00
22 lines
539 B
Objective-C
22 lines
539 B
Objective-C
#import <TargetConditionals.h>
|
|
#if TARGET_OS_IOS
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "IDRichTextAnchor.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface IDRichTextPosition : UITextPosition <NSCopying>
|
|
@property(nonatomic, strong, readonly) IDRichTextAnchor *anchor;
|
|
@property(nonatomic, readonly) UITextStorageDirection affinity;
|
|
@property(nonatomic, readonly) NSUInteger documentRevision;
|
|
|
|
- (instancetype)initWithAnchor:(IDRichTextAnchor *)anchor
|
|
affinity:(UITextStorageDirection)affinity;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif
|