Re: indexed accessors and NSArrayControllers (followup)
Re: indexed accessors and NSArrayControllers (followup)
- Subject: Re: indexed accessors and NSArrayControllers (followup)
- From: Nicolas Berloquin <email@hidden>
- Date: Fri, 2 Apr 2004 21:25:30 +0200
Just a little followup :
Actually, the error I'm getting comes when
removeObjectFromPendingPiecesAtIndex: returns, not
at the removeObjectAtIndex: call, and before the next line in the
caller.
(I placed some NSLog before and after the call to
removeObjectFromPendingPiecesAtIndex and
to [pendingPieces removeObjectAtIndex: index] to check for this).
NSLog(@"1");
[self removeObjectFromPendingPiecesAtIndex: [pendingPieces
indexOfObject: piece]];
NSLog(@"2");
(...)
- (void) removeObjectFromPendingPiecesAtIndex:(unsigned int)index
{
NSLog(@"3");
[pendingPieces removeObjectAtIndex: index];
NSLog(@"4");
}
and I see in my log 1, 3, 4, error.
thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.