PTReflowSettingsViewController


@interface PTReflowSettingsViewController
    : PTPopoverTableViewController <PTOverridable>

The PTReflowSettingsViewController class displays settings to control the ‘PTReflow’.

  • Initializes a PTReflowSettingsViewController instance.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()

    Return Value

    an initialized PTReflowSettingsViewController instance

  • Initializes a PTReflowSettingsViewController instance with the specified coder.

    Declaration

    Objective-C

    - (nullable instancetype)initWithCoder:(nonnull NSCoder *)coder;

    Swift

    init?(coder: NSCoder)

    Parameters

    coder

    The coder for initialization

    Return Value

    an initialized PTReflowSettingsViewController instance, or nil if decoding failed

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStyle:(UITableViewStyle)style;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithNibName:(nullable NSString *)nibName
                             bundle:(nullable NSBundle *)bundle NS_UNAVAILABLE;
  • The PTReflowSettingsViewController’s delegate.

    Declaration

    Objective-C

    @property (nonatomic, weak, nullable) id<PTReflowSettingsViewControllerDelegate> delegate;

    Swift

    weak var delegate: (any PTReflowSettingsViewControllerDelegate)? { get set }
  • true if background images should be hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic) BOOL hideBackgroundImages;

    Swift

    var hideBackgroundImages: Bool { get set }
  • true if images should be hidden under text; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic) BOOL hideImagesUnderText;

    Swift

    var hideImagesUnderText: Bool { get set }
  • true if images should be hidden under invisible text; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic) BOOL hideImagesUnderInvisibleText;

    Swift

    var hideImagesUnderInvisibleText: Bool { get set }
  • true if text should not reflow over images; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic) BOOL doNotReflowTextOverImages;

    Swift

    var doNotReflowTextOverImages: Bool { get set }
  • The scrolling direction of a reflow view controller. Default is PTReflowViewControllerScrollingDirectionAutomatic.

    Declaration

    Objective-C

    @property (nonatomic) PTReflowViewControllerScrollingDirection scrollingDirection;

    Swift

    var scrollingDirection: PTReflowViewControllerScrollingDirection { get set }
  • true if can create annotation; false otherwise. Default is true. This property will be ignored if annotationToolsHidden is true.

    Declaration

    Objective-C

    @property (nonatomic) BOOL annotationModeEnabled;

    Swift

    var annotationModeEnabled: Bool { get set }
  • true if can toggle annotation mode; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic) BOOL annotationToolsHidden;

    Swift

    var annotationToolsHidden: Bool { get set }