Did I find a NSScanner bug, or am I doing this all wrong?

2008-09-21 Thread Britt Durbrow
Hi -- I'm getting some really odd behavior out of NSScanner; it seems to be choking on character sets that only have whitespace in them. This doesn't work: #import int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

[SOLVED] Did I find a NSScanner bug, or am I doing this all wrong?

2008-09-22 Thread Britt Durbrow
Your problem is that you need to set the characters to be skipped to something other than what you are trying to scan. Bingo! It's working now. Thanks. :-) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or m

Adding sublayer causes dropped frames?

2008-10-04 Thread Britt Durbrow
Hi - I'm having a weird problem with Core Animation. What I've got is a small particle system, with one layer per particle. There are only 10-20 particles in the system at any given time. The system updates the layers at 60 Hz from an NSTimer, and disables automatic animations during the