Bundle

extension Bundle

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

  • The app version, as a string. It is required, and “ERROR” is returned if it is not present.

    Declaration

    Swift

    var appVersionString: String { get }
  • The build version, as a string. It is required, and “ERROR” is returned if it is not present.

    Declaration

    Swift

    var appVersionBuildString: String { get }