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. Regard

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Quincey Morris
On Jun 28, 2008, at 16:38, Markus Spoettl wrote: 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 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 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

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 cepts/AccessorConven

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, only

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)removeAtIndexes:(NSIndexSet *)indexes > { >NSMutableArray *kva = [self mutableArrayValueForKey:@""]; >[kva removeObjectsAtIndexes:indexes]; > } And you're surprised that this caus

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)countOf - (id)objectInAtIndex:(unsigned)theIndex - (void)get:(id *)objsPtr range:(NSRange)range - (void)insertObject:(id)obj inAtIndex:(NSUIntege