Bundle
extension Bundle
This extension adds a few simple accessors for some of the more common bundle items.
-
If there is a copyright site URI, it is returned here as a String. It may be nil.
Declaration
Swift
var siteURIAsString: String? { get } -
If there is a help site URI, it is returned here as a String. It may be nil.
Declaration
Swift
var helpURIAsString: String? { get } -
If there is a privacy site URI, it is returned here as a String. It may be nil.
Declaration
Swift
var privacyURIAsString: String? { get } -
If there is a copyright site URI, it is returned here as a URL. It may be nil.
Declaration
Swift
var siteURI: URL? { get } -
If there is a help site URI, it is returned here as a URL. It may be nil.
Declaration
Swift
var helpURI: URL? { get } -
If there is a privacy site URI, it is returned here as a URL. It may be nil.
Declaration
Swift
var privacyURI: URL? { get }
View on GitHub