NSBundle extension type

NSBundle

on
Implemented types
Available extensions

Constructors

NSBundle()
Returns a new instance of NSBundle constructed with the default new method.
NSBundle.as(ObjCObject other)
Constructs a NSBundle that points to the same underlying object as other.
NSBundle.fromPointer(Pointer<ObjCObjectImpl> other, {bool retain = false, bool release = false})
Constructs a NSBundle that wraps the given raw object pointer.

Properties

appStoreReceiptURL NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

appStoreReceiptURL
no setter
builtInPlugInsPath NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

builtInPlugInsPath
no setter
builtInPlugInsURL NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

builtInPlugInsURL
no setter
bundleIdentifier NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

bundleIdentifier
no setter
bundlePath NSString

Available on NSBundle, provided by the NSBundle$Methods extension

bundlePath
no setter
bundleURL NSURL

Available on NSBundle, provided by the NSBundle$Methods extension

bundleURL
no setter
debugDescription NSString

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

debugDescription
no setter
description NSString

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

description
no setter
developmentLocalization NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

developmentLocalization
no setter
executableArchitectures NSArray?

Available on NSBundle, provided by the NSBundle$Methods extension

executableArchitectures
no setter
executablePath NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

executablePath
no setter
executableURL NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

executableURL
no setter
hash int

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

hash
no setter
hashCode int
The hash code for this object.
no setterinherited
infoDictionary NSDictionary?

Available on NSBundle, provided by the NSBundle$Methods extension

infoDictionary
no setter
isLoaded bool

Available on NSBundle, provided by the NSBundle$Methods extension

isLoaded
no setter
isProxy bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isProxy
no setter
isProxy bool

Available on NSObject, provided by the NSObject$Methods extension

isProxy
no setter
localizations NSArray

Available on NSBundle, provided by the NSBundle$Methods extension

localizations
no setter
localizedInfoDictionary NSDictionary?

Available on NSBundle, provided by the NSBundle$Methods extension

localizedInfoDictionary
no setter
object$ ObjCObject
final
preferredLocalizations NSArray

Available on NSBundle, provided by the NSBundle$Methods extension

preferredLocalizations
no setter
principalClass ObjCObject?

Available on NSBundle, provided by the NSBundle$Methods extension

principalClass
no setter
privateFrameworksPath NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

privateFrameworksPath
no setter
privateFrameworksURL NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

privateFrameworksURL
no setter
ref ObjCObjectRef
finalinherited
resourcePath NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

resourcePath
no setter
resourceURL NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

resourceURL
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedFrameworksPath NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

sharedFrameworksPath
no setter
sharedFrameworksURL NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

sharedFrameworksURL
no setter
sharedSupportPath NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

sharedSupportPath
no setter
sharedSupportURL NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

sharedSupportURL
no setter
superclass ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

superclass
no setter

Methods

addObserver(Observer observer, {required NSString forKeyPath, int options = NSKeyValueObservingOptions.NSKeyValueObservingOptionNew, Pointer<Void>? context}) Observation

Available on NSObject, provided by the Observed extension

Registers the Observer to receive KVO notifications for the key path relative to this NSObject.
autorelease() NSObjectProtocol

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

autorelease
class$() ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

class
classNamed(NSString className) ObjCObject?

Available on NSBundle, provided by the NSBundle$Methods extension

classNamed:
conformsToProtocol(Protocol aProtocol) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

conformsToProtocol:
copy() ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

copy
dealloc() → void

Available on NSObject, provided by the NSObject$Methods extension

dealloc
doesNotRecognizeSelector(Pointer<ObjCSelector> aSelector) → void

Available on NSObject, provided by the NSObject$Methods extension

doesNotRecognizeSelector:
forwardingTargetForSelector(Pointer<ObjCSelector> aSelector) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

forwardingTargetForSelector:
forwardInvocation(NSInvocation anInvocation) → void

Available on NSObject, provided by the NSObject$Methods extension

forwardInvocation:
init() NSBundle

Available on NSBundle, provided by the NSBundle$Methods extension

init
init() NSObject

Available on NSObject, provided by the NSObject$Methods extension

init
initWithPath(NSString path) NSBundle?

Available on NSBundle, provided by the NSBundle$Methods extension

initWithPath:
initWithURL(NSURL url) NSBundle?

Available on NSBundle, provided by the NSBundle$Methods extension

initWithURL:
isEqual(ObjCObject object) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isEqual:
isEqual(ObjCObject object) bool

Available on NSObject, provided by the NSObject$Methods extension

isEqual:
isKindOfClass(ObjCObject aClass) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isKindOfClass:
isKindOfClass(ObjCObject aClass) bool

Available on NSObject, provided by the NSObject$Methods extension

isKindOfClass:
isMemberOfClass(ObjCObject aClass) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

isMemberOfClass:
isMemberOfClass(ObjCObject aClass) bool

Available on NSObject, provided by the NSObject$Methods extension

isMemberOfClass:
load$1() bool

Available on NSBundle, provided by the NSBundle$Methods extension

load
loadAndReturnError() bool

Available on NSBundle, provided by the NSBundle$Methods extension

loadAndReturnError:
localizedAttributedStringForKey(NSString key, {NSString? value, NSString? table}) NSAttributedString

Available on NSBundle, provided by the NSBundle$Methods extension

localizedAttributedStringForKey:value:table:
localizedStringForKey(NSString key, {NSString? value, NSString? table}) NSString

Available on NSBundle, provided by the NSBundle$Methods extension

localizedStringForKey:value:table:
methodForSelector(Pointer<ObjCSelector> aSelector) Pointer<NativeFunction<Void Function()>>

Available on NSObject, provided by the NSObject$Methods extension

methodForSelector:
methodSignatureForSelector(Pointer<ObjCSelector> aSelector) NSMethodSignature

Available on NSObject, provided by the NSObject$Methods extension

methodSignatureForSelector:
mutableCopy() ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

mutableCopy
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
objectForInfoDictionaryKey(NSString key) ObjCObject?

Available on NSBundle, provided by the NSBundle$Methods extension

objectForInfoDictionaryKey:
pathForAuxiliaryExecutable(NSString executableName) NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

pathForAuxiliaryExecutable:
pathForResource(NSString? name, {NSString? ofType}) NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

pathForResource:ofType:
pathForResource$1(NSString? name, {NSString? ofType, NSString? inDirectory}) NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

pathForResource:ofType:inDirectory:
pathForResource$2(NSString? name, {NSString? ofType, NSString? inDirectory, NSString? forLocalization}) NSString?

Available on NSBundle, provided by the NSBundle$Methods extension

pathForResource:ofType:inDirectory:forLocalization:
pathsForResourcesOfType(NSString? ext, {NSString? inDirectory}) NSArray

Available on NSBundle, provided by the NSBundle$Methods extension

pathsForResourcesOfType:inDirectory:
pathsForResourcesOfType$1(NSString? ext, {NSString? inDirectory, NSString? forLocalization}) NSArray

Available on NSBundle, provided by the NSBundle$Methods extension

pathsForResourcesOfType:inDirectory:forLocalization:
performSelector(Pointer<ObjCSelector> aSelector) ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

performSelector:
performSelector(Pointer<ObjCSelector> aSelector) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

performSelector:
performSelector$1(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject}) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

performSelector:withObject:
performSelector$1(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject}) ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

performSelector:withObject:
performSelector$2(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject, required ObjCObject withObject$1}) ObjCObject

Available on NSObject, provided by the NSObject$Methods extension

performSelector:withObject:withObject:
performSelector$2(Pointer<ObjCSelector> aSelector, {required ObjCObject withObject, required ObjCObject withObject$1}) ObjCObject

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

performSelector:withObject:withObject:
preflightAndReturnError() bool

Available on NSBundle, provided by the NSBundle$Methods extension

preflightAndReturnError:
release() → void

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

release
respondsToSelector(Pointer<ObjCSelector> sel) bool

Available on ObjCObject, provided by the RespondsToSelector extension

respondsToSelector(Pointer<ObjCSelector> aSelector) bool

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

respondsToSelector:
retain() NSObjectProtocol

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

retain
retainCount() int

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

retainCount
self() NSObjectProtocol

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

self
toString() String
A string representation of this object.
inherited
unload() bool

Available on NSBundle, provided by the NSBundle$Methods extension

unload
URLForAuxiliaryExecutable(NSString executableName) NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

URLForAuxiliaryExecutable:
URLForResource(NSString? name, {NSString? withExtension}) NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

URLForResource:withExtension:
URLForResource$1(NSString? name, {NSString? withExtension, NSString? subdirectory}) NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

URLForResource:withExtension:subdirectory:
URLForResource$2(NSString? name, {NSString? withExtension, NSString? subdirectory, NSString? localization}) NSURL?

Available on NSBundle, provided by the NSBundle$Methods extension

URLForResource:withExtension:subdirectory:localization:
URLsForResourcesWithExtension(NSString? ext, {NSString? subdirectory}) NSArray?

Available on NSBundle, provided by the NSBundle$Methods extension

URLsForResourcesWithExtension:subdirectory:
URLsForResourcesWithExtension$1(NSString? ext, {NSString? subdirectory, NSString? localization}) NSArray?

Available on NSBundle, provided by the NSBundle$Methods extension

URLsForResourcesWithExtension:subdirectory:localization:
zone() Pointer<NSZone>

Available on NSObject, provided by the NSObject$Methods extension

zone
zone() Pointer<NSZone>

Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension

zone

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alloc() NSBundle
alloc
override
allocWithZone(Pointer<NSZone> zone) NSBundle
allocWithZone:
override
bundleForClass(ObjCObject aClass) NSBundle
bundleForClass:
bundleWithIdentifier(NSString identifier) NSBundle?
bundleWithIdentifier:
bundleWithPath(NSString path) NSBundle?
bundleWithPath:
bundleWithURL(NSURL url) NSBundle?
bundleWithURL:
getAllBundles() NSArray
allBundles
getAllFrameworks() NSArray
allFrameworks
getMainBundle() NSBundle
mainBundle
isA(ObjCObject obj) bool
Returns whether obj is an instance of NSBundle.
override
new$() NSBundle
new
override
pathForResource$3(NSString? name, {NSString? ofType, required NSString inDirectory}) NSString?
pathForResource:ofType:inDirectory:
pathsForResourcesOfType$2(NSString? ext, {required NSString inDirectory}) NSArray
pathsForResourcesOfType:inDirectory:
preferredLocalizationsFromArray(NSArray localizationsArray) NSArray
preferredLocalizationsFromArray:
preferredLocalizationsFromArray$1(NSArray localizationsArray, {NSArray? forPreferences}) NSArray
preferredLocalizationsFromArray:forPreferences:
URLForResource$3(NSString? name, {NSString? withExtension, NSString? subdirectory, required NSURL inBundleWithURL}) NSURL?
URLForResource:withExtension:subdirectory:inBundleWithURL:
URLsForResourcesWithExtension$2(NSString? ext, {NSString? subdirectory, required NSURL inBundleWithURL}) NSArray?
URLsForResourcesWithExtension:subdirectory:inBundleWithURL: