NuMethod
A Nu wrapper for method representations in the Objective-C runtime.
Superclass: NSObject
Declared in: objc/Nu.h
NuMethod provides an object wrapper for methods that are represented in the Objective-C runtime.
NuMethod objects are used in the Nu language to manipulate Objective-C methods.
Methods
| - |
(NSComparisonResult) |
compare: |
(NuMethod *) anotherMethod |
Compare a method with another method by name. This allows arrays of methods to be easily sorted.
in objc/Nu.h
If a method is implemented with Nu, get its block.
in objc/Nu.h
| - |
(NSString *) |
returnType |
Get the encoded return type of a method.
in objc/Nu.h
| - |
(NSString *) |
argumentType: |
(int) i |
Get the type encoding of a specified argument of a method.
in objc/Nu.h
Get the Objective-C type signature of a method.
in objc/Nu.h
| - |
(NSString *) |
typeEncoding |
Get the Objective-C type encoding of a method. This includes offset information.
in objc/Nu.h
Get the number of arguments to a method.
in objc/Nu.h
| - |
(id) |
initWithMethod: |
(Method) method |
Initialize a NuMethod for a given Objective-C method (used from Objective-C)
in objc/Nu.h