PTToolsSettingsViewController


@interface PTToolsSettingsViewController : UITableViewController <PTOverridable>

A class that reads and writes settings stored by a PTToolsSettingsManager singleton object.

  • Initializes a newly created PTToolsSettingsViewController instance with the given parameters.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStyle:(UITableViewStyle)style
                                plistName:(nonnull NSString *)plistName;

    Swift

    init(style: UITableView.Style, plistName: String)

    Parameters

    style

    The UITableViewStyle to use

    plistName

    The name of the plist file containing the settings to display in this view controller.

    Return Value

    an initialized PTToolsSettingsViewController instance

  • Initializes a newly created PTToolsSettingsViewController instance with the given parameters.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStyle:(UITableViewStyle)style
                                plistName:(nonnull NSString *)plistName
                          settingsManager:
                              (nonnull PTToolsSettingsManager *)settingsManager;

    Swift

    init(style: UITableView.Style, plistName: String, settingsManager: PTToolsSettingsManager)

    Parameters

    style

    The UITableViewStyle to use

    plistName

    The name of the plist file containing the settings to display in this view controller.

    settingsManager

    The PTToolsSettingsManager used to control the settings

    Return Value

    an initialized PTToolsSettingsViewController instance

  • The name of the settings plist file containing the settings shown by this view controller.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull plistName;

    Swift

    var plistName: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) PTToolsSettingsManager* toolsSettingsManager

    Swift

    @NSCopying var toolsSettingsManager: PTToolsSettingsManager { get }
  • Undocumented

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    PT_INIT_WITH_CODER_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

    PT_INIT_WITH_NIB_NAME_BUNDLE_UNAVAILABLE