Open ClassFoundation5.9.0
Bundle
class Bundle
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
init(for: AnyClass
) init?(identifier: String
) init?(path: String
) convenience init?(url: URL
) class var allBundles: [Bundle]
class var allFrameworks: [Bundle]
class var main: Bundle
class func path(forResource: String?, ofType: String?, inDirectory: String
) -> String? class func paths(forResourcesOfType: String?, inDirectory: String
) -> [String] class func preferredLocalizations(from: [String]
) -> [String] class func preferredLocalizations(from: [String], forPreferences: [String]?
) -> [String] class func url(forResource: String?, withExtension: String?, subdirectory: String?, in: URL
) -> URL? class func urls(forResourcesWithExtension: String?, subdirectory: String?, in: NSURL
) -> [NSURL]? var appStoreReceiptURL: URL?
var builtInPlugInsPath: String?
var builtInPlugInsURL: URL?
var bundleIdentifier: String?
var bundlePath: String
var bundleURL: URL
var description: String
var developmentLocalization: String?
var executableArchitectures: [NSNumber]?
var executablePath: String?
var executableURL: URL?
var hash: Int
var infoDictionary: [String : Any]?
var isLoaded: Bool
var localizations: [String]
var localizedInfoDictionary: [String : Any]?
var preferredLocalizations: [String]
var principalClass: AnyClass?
var privateFrameworksPath: String?
var privateFrameworksURL: URL?
var resourcePath: String?
var resourceURL: URL?
var sharedFrameworksPath: String?
var sharedFrameworksURL: URL?
var sharedSupportPath: String?
var sharedSupportURL: URL?
func classNamed(String
) -> AnyClass? func isEqual(Any
?) -> Bool func load(
) -> Bool func loadAndReturnError(
) throws func localizedString(forKey: String, value: String?, table: String?
) -> String func object(forInfoDictionaryKey: String
) -> Any? func path(forAuxiliaryExecutable: String
) -> String? func path(forResource: String?, ofType: String?
) -> String? func path(forResource: String?, ofType: String?, inDirectory: String?
) -> String? func path(forResource: String?, ofType: String?, inDirectory: String?, forLocalization: String?
) -> String? func paths(forResourcesOfType: String?, inDirectory: String?
) -> [String] func paths(forResourcesOfType: String?, inDirectory: String?, forLocalization: String?
) -> [String] func preflight(
) throws func url(forAuxiliaryExecutable: String
) -> URL? func url(forResource: String?, withExtension: String?
) -> URL? func url(forResource: String?, withExtension: String?, subdirectory: String?
) -> URL? func url(forResource: String?, withExtension: String?, subdirectory: String?, localization: String?
) -> URL? func urls(forResourcesWithExtension: String?, subdirectory: String?
) -> [NSURL]? func urls(forResourcesWithExtension: String?, subdirectory: String?, localization: String?
) -> [NSURL]? func unload(
) -> Bool