RGLDocumentView

Objective-C

@interface RGLDocumentView : UIImageView

@property(nonatomic, weak, nullable) id<RGLDocumentViewDataSource> dataSource;

@property(nonatomic, strong) UIImage * _Nullable helpAnimationImage;
@property(nonatomic, strong) UIImage * _Nullable multipageFrontAnimationImage;
@property(nonatomic, strong) UIImage * _Nullable multipageBackAnimationImage;

@property(nonatomic, assign) UIViewContentMode helpAnimationImageContentMode;
@property(nonatomic, assign) UIViewContentMode multipageAnimationFrontImageContentMode;
@property(nonatomic, assign) UIViewContentMode multipageAnimationBackImageContentMode;
@property(nonatomic, assign) BOOL useFlipMultipageAnimation;

- (instancetype _Nonnull)initWithStartPosition:(RGLDocumentViewPosition)position;
- (void)startHelpAnimationWithCompletion:(RGLCompletion _Nullable)completion;
- (void)changePositionToDocumentViewPosition:(RGLDocumentViewPosition)documentPosition;
- (void)nextPageAnimationStart;

@end

Swift

class DocumentView : UIImageView

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, weak, nullable) id<RGLDocumentViewDataSource> dataSource

    Swift

    weak var dataSource: RGLDocumentViewDataSource? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong) UIImage * _Nullable helpAnimationImage

    Swift

    var helpAnimationImage: UIImage? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong) UIImage * _Nullable multipageFrontAnimationImage

    Swift

    var multipageFrontAnimationImage: UIImage? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong) UIImage * _Nullable multipageBackAnimationImage

    Swift

    var multipageBackAnimationImage: UIImage? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) UIViewContentMode helpAnimationImageContentMode

    Swift

    var helpAnimationImageContentMode: UIView.ContentMode { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) UIViewContentMode multipageAnimationFrontImageContentMode

    Swift

    var multipageAnimationFrontImageContentMode: UIView.ContentMode { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) UIViewContentMode multipageAnimationBackImageContentMode

    Swift

    var multipageAnimationBackImageContentMode: UIView.ContentMode { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL useFlipMultipageAnimation

    Swift

    var useFlipMultipageAnimation: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithStartPosition:(RGLDocumentViewPosition)position;

    Swift

    init(start position: DocumentViewPosition)
  • Undocumented

    Declaration

    Objective-C

    - (void)startHelpAnimationWithCompletion:(RGLCompletion _Nullable)completion;

    Swift

    func startHelpAnimation() async
  • Undocumented

    Declaration

    Objective-C

    - (void)changePositionToDocumentViewPosition:(RGLDocumentViewPosition)documentPosition;

    Swift

    func changePosition(to documentPosition: DocumentViewPosition)
  • Undocumented

    Declaration

    Objective-C

    - (void)nextPageAnimationStart;

    Swift

    func nextPageAnimationStart()