List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
Hello List, is there a complete list of indexed accessor names that can be implemented? The KVC guides just mentions the basic ones - (NSUInteger)countOfkey - (id)objectInkeyAtIndex:(unsigned)theIndex - (void)getkey:(id *)objsPtr range:(NSRange)range - (void)insertObject:(id)obj

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Kyle Sluder
On Sat, Jun 28, 2008 at 3:56 PM, Markus Spoettl [EMAIL PROTECTED] wrote: I had this in my code - (void)removekeyAtIndexes:(NSIndexSet *)indexes { NSMutableArray *kva = [self mutableArrayValueForKey:@key]; [kva removeObjectsAtIndexes:indexes]; } And you're surprised that this caused

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
On Jun 28, 2008, at 1:03 PM, Kyle Sluder wrote: And you're surprised that this caused an infinite loop? As a matter of fact, yes I was until I realized what was happening. I read the documentation and there was no mention about this specific accessor. That was not the question, though,

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Keary Suska
6/28/08 4:53 PM, also sprach [EMAIL PROTECTED]: The real question is if there is a list of accessor methods that can be implemented optionally so you don't run into this accidentially as I did. http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Con

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Clark Cox
On Sat, Jun 28, 2008 at 3:53 PM, Markus Spoettl [EMAIL PROTECTED] wrote: On Jun 28, 2008, at 1:03 PM, Kyle Sluder wrote: And you're surprised that this caused an infinite loop? As a matter of fact, yes I was until I realized what was happening. I read the documentation and there was no

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
On Jun 28, 2008, at 4:06 PM, Clark Cox wrote: They're listed in the NSKeyValueCoding.h header, but it seems that they aren't included in the equivalent documentation

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
On Jun 28, 2008, at 5:07 PM, Quincey Morris wrote: The last-modified date on that page is Feb, 2007. Seems like a long time for such a fundamental document to be incomplete. That may be a good thing to mention when you file a bug report against the documentation. ;) Done, 6042235.