A_TimerNavBaseController

class A_TimerNavBaseController : A_TimerBaseViewController

This is an abstract (not really, as Swift doesn’t actually support abstract) base class for our various view controllers.

  • This is a special class for an inverted color label.

    See more

    Declaration

    Swift

    class InvertedMaskLabel : UILabel
  • These specify the bounds of the tab bar icons (We draw our own custom ones). The maximum tab icon width, in display units

    Declaration

    Swift

    static let s_g_maxTabIconWidth: CGFloat
  • The maximum tab icon height, in display units

    Declaration

    Swift

    static let s_g_maxTabIconHeight: CGFloat
  • The maximum tab font size

    Declaration

    Swift

    static let s_g_maxTabFontSize: CGFloat
  • The picker element padding, in display units

    Declaration

    Swift

    static let s_g_pickerElementPaddingInDisplayUnits: CGFloat
  • The divisor to be used when separating picker elements

    Declaration

    Swift

    static let s_g_pickerElementHeightDivisor: CGFloat
  • This contains a reference to our timer object.

    Declaration

    Swift

    var timerObject: TimerSettingTuple!
  • This has the index number for this timer instance (1-based).

    Declaration

    Swift

    var timerNumber: Int { get }
  • This supplies a dynamically-created image for the Tab Bar.

    Declaration

    Swift

    var tabBarImage: UIImage! { get }
  • This supplies a dynamically-created title for the Tab Bar.

    Declaration

    Swift

    var tabBarText: String { get }
  • This adds the accessibility title.

    Declaration

    Swift

    override func viewDidLoad()
  • Creates an image with the given text.

    Declaration

    Swift

    class func textAsImage(drawText text: NSString) -> UIImage