MonobjcMonobjc Documented Class Library
NSCollectionViewItem Constructor (nibNameOrNil, nibBundleOrNil)
NamespacesMonobjc.AppKitNSCollectionViewItemNSCollectionViewItem(NSString, NSBundle)

Returns an NSViewController object initialized to the nib file in the specified bundle.

Original signature is '- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSCollectionViewItem(
	NSString nibNameOrNil,
	NSBundle nibBundleOrNil
Public Sub New ( _
	nibNameOrNil As NSString, _
	nibBundleOrNil As NSBundle _
	NSString^ nibNameOrNil, 
	NSBundle^ nibBundleOrNil
nibNameOrNil (NSString)
The name of the nib file, without any leading path information.
nibBundleOrNil (NSBundle)
The bundle in which to search for the nib file. If you specify nil, this method looks for the nib file in the main bundle.
Return Value
The initialized NSViewController object or nil if there were errors during initialization or the nib file could not be located.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)