NACCPersistentPrefs

class NACCPersistentPrefs : RVS_PersistentPrefs

This is the subclass of the preferences type that will provide our persistent app settings.

Preference Keys

  • This is an enumeration that will list the prefs keys for us.

    See more

    Declaration

    Swift

    enum Keys : String

RVS_PersistentPrefs Conformance

  • This is a list of the keys for our prefs. We should use the enum for the keys (rawValue).

    Declaration

    Swift

    override var keys: [String] { get }

External Prefs Access Computed Properties

  • This stores the cleandate, as an instance of Date

    Declaration

    Swift

    var cleanDate: Date { get set }
  • This stores the last selected tab index (0-based).

    Declaration

    Swift

    var lastSelectedTabIndex: Int { get set }