C# Class Monobjc.Tools.ObjectiveC.ObjCId

Simple wrapper for an Objective-C instsance.
显示文件 Open project: Monobjc/monobjc-tools Class Usage Examples

Public Methods

Method Description
Alloc ( ) : ObjCId

Allocs this instance.

Init ( ) : ObjCId

Inits this instance.

ObjCId ( IntPtr pointer ) : System

Initializes a new instance of the ObjCId class.

Release ( ) : void

Releases this instance.

Selector ( String name ) : IntPtr

Get the select of the specified name.

SendMessage ( String selector ) : IntPtr

Sends the message.

SendMessage ( String selector, IntPtr parameter1 ) : IntPtr

Sends the message.

SendMessage ( String selector, String parameter1 ) : IntPtr

Sends the message.

Method Details

Alloc() public method

Allocs this instance.
public Alloc ( ) : ObjCId
return ObjCId

Init() public method

Inits this instance.
public Init ( ) : ObjCId
return ObjCId

ObjCId() public method

Initializes a new instance of the ObjCId class.
public ObjCId ( IntPtr pointer ) : System
pointer System.IntPtr The pointer.
return System

Release() public method

Releases this instance.
public Release ( ) : void
return void

Selector() public static method

Get the select of the specified name.
public static Selector ( String name ) : IntPtr
name String The name.
return System.IntPtr

SendMessage() public method

Sends the message.
public SendMessage ( String selector ) : IntPtr
selector String The selector.
return System.IntPtr

SendMessage() public method

Sends the message.
public SendMessage ( String selector, IntPtr parameter1 ) : IntPtr
selector String The selector.
parameter1 System.IntPtr The first parameter.
return System.IntPtr

SendMessage() public method

Sends the message.
public SendMessage ( String selector, String parameter1 ) : IntPtr
selector String The selector.
parameter1 String The first parameter.
return System.IntPtr