Instance Property

bundleIdentifier

The receiver’s bundle identifier.

Declaration

var bundleIdentifier: String? { get }

Discussion

The bundle identifier is defined by the CFBundleIdentifier key in the bundle’s information property list.

See Also

Getting Bundle Information

var bundleURL: URL

The full URL of the receiver’s bundle directory.

var bundlePath: String

The full pathname of the receiver’s bundle directory.

var infoDictionary: [String : Any]?

A dictionary, constructed from the bundle's Info.plist file, that contains information about the receiver.

func object(forInfoDictionaryKey: String)

Returns the value associated with the specified key in the receiver's information property list.