qmathe@club-internet.fr
)Additions to NSIndexPath.
Copyright: (C) 2007 Quentin Mathe
- Declared in:
- NSIndexPath+Etoile.h
@group Collection Additions
Returns a new autoreleased index path initialized with a index path string representation.
The string representation must use . as separator. For example, 5.6.7.
Returns a new autoreleased index path by removing the first path component.
Returns an autoreleased string representation by joining each index path component with the given separator.
e.g. '5/6/7' with '/' as separator or '5.6.7' with '.' as separator.
Will raise an NSInvalidArgumentException if the
separator is nil
.
Returns a string representation of the receiver.
Take note that KVC as implemented by Foundation collection classes such as NSArray doesn't support to look up elements with a key like '5' or a key path like '6.name'. -valueForKey: and -valueForKeyPath: would try to lookup 5 and 6 as ivar or method names.