Extensions

The following extensions are available globally.

UIViewController Extension

  • We add a couple of computed properties to report Dark Mode and High-Contrast Mode.

    See more

    Declaration

    Swift

    extension UIViewController

UIView Extension

  • We add a couple of ways to deal with first responders.

    See more

    Declaration

    Swift

    extension UIView

UITableView Extension

  • This extension adds a method for deselecting all the table rows.

    See more

    Declaration

    Swift

    extension UITableView

Bundle Extension

  • This extension adds a few simple accessors for some of the more common bundle items.

    See more

    Declaration

    Swift

    extension Bundle