Bundle

class Bundle : NSObject
  • Mechanica

    Returns the app identifier (bundleIdenfier or its executable file name).

    Declaration

    Swift

    public var appIdentifier: String? { get }
  • Mechanica

    Returns the user-visible name of the Bundle; used by Siri and visible on the Home screen in iOS.

    Declaration

    Swift

    public final var displayName: String? { get }
  • Mechanica

    Returns the receiver’s executable file name.

    Declaration

    Swift

    public final var executableFileName: String? { get }
  • Mechanica

    Returns the release-version-number string for the Bundle.

    Declaration

    Swift

    public final var shortVersionString: String? { get }
  • Mechanica

    Returns the build-version-number string for the Bundle.

    Declaration

    Swift

    public final var version: String? { get }
  • Returns all the defines URL schemes.

    Note

    The URL scheme is a useful little feature in iOS that allows unrelated applications to communicate with each other in a controlled way. One application can use a custom URL scheme registered by another to pass control to it, supplying arguments as required.

    Declaration

    Swift

    public var urlSchemes: [String] { get }
  • Mechanica

    Returns true if the app is running through TestFlight.

    Note

    For an application installed through TestFlight, the receipt file is named StoreKit\sandboxReceipt vs the usual StoreKit\receipt

    Declaration

    Swift

    public var isAppRunningThroughTestFlight: Bool { get }