• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: indexed accessors and NSArrayControllers (followup)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >indexed accessors and NSArrayControllers (From: Nicolas Berloquin <email@hidden>)

  • Prev by Date: Re: Java or Objective-C for Cocoa?
  • Next by Date: Re: An NSShadow question
  • Previous by thread: indexed accessors and NSArrayControllers
  • Next by thread: Re: Fullscreen enter/exit notification
  • Index(es):
    • Date
    • Thread