cocoa :: NSIndexPath
cocoa :: NSIndexPath :: defaultinit
cocoa :: NSIndexPath :: index_at_position
Wraps:[self indexAtPosition:(NSUInteger)position]
cocoa :: NSIndexPath :: index_path_by_adding_index
Wraps:[self indexPathByAddingIndex:(NSUInteger)index]
cocoa :: NSIndexPath :: index_path_by_removing_last_index
Wraps:[self indexPathByRemovingLastIndex]
cocoa :: NSIndexPath :: init_with_index
Wraps:[self initWithIndex:(NSUInteger)index]
cocoa $ NSIndexPath :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
cocoa :: NSObject :: defaultinit
cocoa :: NSIndexPath :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
cocoa :: NSIndexPath :: index_at_position
Wraps:[self indexAtPosition:(NSUInteger)position]
cocoa :: NSIndexPath :: index_path_by_adding_index
Wraps:[self indexPathByAddingIndex:(NSUInteger)index]
cocoa :: NSIndexPath :: index_path_by_removing_last_index
Wraps:[self indexPathByRemovingLastIndex]
cocoa :: NSIndexPath :: init_with_index
Wraps:[self initWithIndex:(NSUInteger)index]
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# Path to a specific node in a tree of nested array collections
extern class NSIndexPath in "ObjC" `{ NSIndexPath * `}
super NSObject
# Wraps: `[self initWithIndex:(NSUInteger)index]`
new init_with_index(index: Int) in "ObjC" `{
return [[NSIndexPath alloc] initWithIndex: index];
`}
# Wraps: `NSIndexPath.length`
fun length: Int in "ObjC" `{
return [self length];
`}
# Wraps: `[self indexPathByAddingIndex:(NSUInteger)index]`
fun index_path_by_adding_index(index: Int): NSIndexPath in "ObjC" `{
return [self indexPathByAddingIndex: index];
`}
# Wraps: `[self indexPathByRemovingLastIndex]`
fun index_path_by_removing_last_index: NSIndexPath in "ObjC" `{
return [self indexPathByRemovingLastIndex];
`}
# Wraps: `[self indexAtPosition:(NSUInteger)position]`
fun index_at_position(position: Int): Int in "ObjC" `{
return [self indexAtPosition: position];
`}
end
lib/cocoa/foundation.nit:123,1--151,3