MonobjcMonobjc Documented Class Library
InitWithCoder Method (decoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithCoder(
	NSCoder decoder
Public Overridable Function InitWithCoder ( _
	decoder As NSCoder _
) As Id
virtual Id^ InitWithCoder(
	NSCoder^ decoder
decoder (NSCoder)
An unarchiver object.
Return Value
self, initialized using the data in decoder.
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)