PTReflowSettingsViewController
@interface PTReflowSettingsViewController
: PTPopoverTableViewController <PTOverridable>
The PTReflowSettingsViewController class displays settings to control the ‘PTReflow’.
-
Initializes a
PTReflowSettingsViewControllerinstance.Declaration
Objective-C
- (nonnull instancetype)init;Swift
init()Return Value
an initialized
PTReflowSettingsViewControllerinstance -
Initializes a
PTReflowSettingsViewControllerinstance with the specified coder.Declaration
Objective-C
- (nullable instancetype)initWithCoder:(nonnull NSCoder *)coder;Swift
init?(coder: NSCoder)Parameters
coderThe coder for initialization
Return Value
an initialized
PTReflowSettingsViewControllerinstance, ornilif 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 } -
trueif background images should be hidden;falseotherwise. Default isfalse.Declaration
Objective-C
@property (nonatomic) BOOL hideBackgroundImages;Swift
var hideBackgroundImages: Bool { get set } -
trueif images should be hidden under text;falseotherwise. Default isfalse.Declaration
Objective-C
@property (nonatomic) BOOL hideImagesUnderText;Swift
var hideImagesUnderText: Bool { get set } -
trueif images should be hidden under invisible text;falseotherwise. Default isfalse.Declaration
Objective-C
@property (nonatomic) BOOL hideImagesUnderInvisibleText;Swift
var hideImagesUnderInvisibleText: Bool { get set } -
trueif text should not reflow over images;falseotherwise. Default isfalse.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 } -
trueif can create annotation;falseotherwise. Default istrue. This property will be ignored ifannotationToolsHiddenistrue.Declaration
Objective-C
@property (nonatomic) BOOL annotationModeEnabled;Swift
var annotationModeEnabled: Bool { get set } -
trueif can toggle annotation mode;falseotherwise. Default isfalse.Declaration
Objective-C
@property (nonatomic) BOOL annotationToolsHidden;Swift
var annotationToolsHidden: Bool { get set }
PTReflowSettingsViewController Class Reference