MonobjcMonobjc Documented Class Library
ProvideNewView Method (initialRequest)

Returns the view containing the receiver’s user interface. (required)

Original signature is '- (NSView *)provideNewView:(BOOL)initialRequest'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSView ProvideNewView(
	bool initialRequest
Function ProvideNewView ( _
	initialRequest As Boolean _
) As NSView
NSView^ ProvideNewView(
	bool initialRequest
initialRequest (Boolean)
YES only when this method is first invoked for your color picker. If initialRequest is YES, the method should perform any initialization required (such as lazily loading a nib file, initializing the view, or performing any other custom initialization required for your picker).
Return Value
The view containing the color picker's user interface. The NSView returned by this method should be set to automatically resize both its width and height.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

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