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