NSBundle extension type
NSBundle
- on
- Implemented types
- Available extensions
Constructors
- NSBundle()
-
Returns a new instance of NSBundle constructed with the default
newmethod. - 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
appStoreReceiptURLno setter - builtInPlugInsPath → NSString?
-
Available on NSBundle, provided by the NSBundle$Methods extension
builtInPlugInsPathno setter - builtInPlugInsURL → NSURL?
-
Available on NSBundle, provided by the NSBundle$Methods extension
builtInPlugInsURLno setter - bundleIdentifier → NSString?
-
Available on NSBundle, provided by the NSBundle$Methods extension
bundleIdentifierno setter - bundlePath → NSString
-
Available on NSBundle, provided by the NSBundle$Methods extension
bundlePathno setter - bundleURL → NSURL
-
Available on NSBundle, provided by the NSBundle$Methods extension
bundleURLno setter - debugDescription → NSString
-
Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension
debugDescriptionno setter - description → NSString
-
Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension
descriptionno setter - developmentLocalization → NSString?
-
Available on NSBundle, provided by the NSBundle$Methods extension
developmentLocalizationno setter - executableArchitectures → NSArray?
-
Available on NSBundle, provided by the NSBundle$Methods extension
executableArchitecturesno setter - executablePath → NSString?
-
Available on NSBundle, provided by the NSBundle$Methods extension
executablePathno setter - executableURL → NSURL?
-
Available on NSBundle, provided by the NSBundle$Methods extension
executableURLno setter - hash → int
-
Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension
hashno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- infoDictionary → NSDictionary?
-
Available on NSBundle, provided by the NSBundle$Methods extension
infoDictionaryno setter - isLoaded → bool
-
Available on NSBundle, provided by the NSBundle$Methods extension
isLoadedno setter - isProxy → bool
-
Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension
isProxyno setter - isProxy → bool
-
Available on NSObject, provided by the NSObject$Methods extension
isProxyno setter - localizations → NSArray
-
Available on NSBundle, provided by the NSBundle$Methods extension
localizationsno setter - localizedInfoDictionary → NSDictionary?
-
Available on NSBundle, provided by the NSBundle$Methods extension
localizedInfoDictionaryno setter - object$ → ObjCObject
-
final
- preferredLocalizations → NSArray
-
Available on NSBundle, provided by the NSBundle$Methods extension
preferredLocalizationsno setter - principalClass → ObjCObject?
-
Available on NSBundle, provided by the NSBundle$Methods extension
principalClassno setter - privateFrameworksPath → NSString?
-
Available on NSBundle, provided by the NSBundle$Methods extension
privateFrameworksPathno setter - privateFrameworksURL → NSURL?
-
Available on NSBundle, provided by the NSBundle$Methods extension
privateFrameworksURLno setter - ref → ObjCObjectRef
-
finalinherited
- resourcePath → NSString?
-
Available on NSBundle, provided by the NSBundle$Methods extension
resourcePathno setter - resourceURL → NSURL?
-
Available on NSBundle, provided by the NSBundle$Methods extension
resourceURLno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Available on NSBundle, provided by the NSBundle$Methods extension
sharedFrameworksPathno setter -
Available on NSBundle, provided by the NSBundle$Methods extension
sharedFrameworksURLno setter -
Available on NSBundle, provided by the NSBundle$Methods extension
sharedSupportPathno setter -
Available on NSBundle, provided by the NSBundle$Methods extension
sharedSupportURLno setter - superclass → ObjCObject
-
Available on NSObjectProtocol, provided by the NSObjectProtocol$Methods extension
superclassno 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 tothisNSObject. -
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
objis 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: