Utility class to handle encoding of types and methods.
C# | Visual Basic | Visual C++ |
public static class ObjectiveCEncoding
Public NotInheritable Class ObjectiveCEncoding
public ref class ObjectiveCEncoding abstract sealed
All Members | Methods | ||||
Icon | Member | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GetSelector(MethodBase) | Gets the selector for the given method. The selector for a method is build with the following rules:
Here are some examples of result:
| |||||||||||||
GetSignature(MethodInfo) | Gets the signature for the given method. Here are some examples of result for methods:
| |||||||||||||
GetTypeEncoding(Type) | Return the Objective-C encoding used to build selector signature. Here are some examples of encoding:
For a full list of the encoding, refer to http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_7.html | |||||||||||||
GetTypeSize(Type) | Return the native type size used to build selector signature. The value represents the size to use when the type is placed on the parameter stack. Here are some examples of sizes:
|
Object | |
ObjectiveCEncoding |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)