MonobjcMonobjc Documented Class Library
NSBundle Constructor (url)

Returns an NSBundle object initialized to correspond to the specified file URL.

Original signature is '- (id)initWithURL:(NSURL *)url'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSBundle(
	NSURL url
Public Sub New ( _
	url As NSURL _
	NSURL^ url
url (NSURL)
The file URL to a directory. This must be a full URL for a directory; if it contains any symbolic links, they must be resolvable.
Return Value
An NSBundle object initialized to correspond to url. This method initializes and returns a new instance only if there is no existing bundle associated with url, otherwise it deallocates self and returns the existing object. If url doesn’t exist or the user doesn’t have access to it, returns nil.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)