RSDOverviewStepViewController
open class RSDOverviewStepViewController : RSDPermissionStepViewController
RSDOverviewStepViewController
is a customizable view controller that is designed to be the first view
displayed for an active task that may require checking the user’s permissions and allows the user to set
a notification reminder to perform the task at a later time.
-
Override viewDidAppear to set up notification handling.
Declaration
Swift
open override func viewDidAppear(_ animated: Bool)
-
The reminder action associated with this step view controller.
Declaration
Swift
open private(set) var reminderAction: RSDReminderUIAction? { get }
-
Override skipForward to check if this is a reminder action for the skip button.
Declaration
Swift
open override func skipForward()
-
Handle messaging the user that they have previously denied permission to show a local notification.
Declaration
Swift
open func handleNotificationAuthorizationDenied()
-
Post an action sheet asking the user how long until they want to be reminded to do this task.
Declaration
Swift
open func remindMeLater()
-
Add a reminder to perform this task that is triggered for a time in the future.
Declaration
Swift
open func addReminder(timeInterval: TimeInterval)
-
The default nib name to use when instantiating the view controller using
init(step:)
.Declaration
Swift
open class var nibName: String { get }
-
The default bundle to use when instantiating the view controller using
init(step:)
.Declaration
Swift
open class var bundle: Bundle { get }
-
Initialize the class using the given nib and bundle.
Note
If this initializer is used with anil
nib, then it must assign the expected outlets.Declaration
Parameters
nibNameOrNil
The name of the nib or
nil
.nibBundleOrNil
The name of the bundle or
nil
. -
Required initializer. This is the initializer used by a
UIStoryboard
.Declaration
Swift
public required init?(coder aDecoder: NSCoder)
Parameters
aDecoder
The decoder used to initialize this view controller.