blocks and autorelease weirdness

2010-04-19 Thread Henk Kampman
Have a look at the following code -(void) test { testString = NULL; dispatch_async(dispatch_get_global_queue(0, 0), ^{ dispatch_async(dispatch_get_main_queue(), ^{ NSString* aString = [[NSMutableString alloc]

Re: blocks and autorelease weirdness

2010-04-19 Thread Henk Kampman
On 19 apr 2010, at 11:41, Jean-Daniel Dupas wrote: > > > Le 19 avr. 2010 à 11:35, Henk Kampman a écrit : > >> Have a look at the following code >> >> -(void) test >> { >> testString = NULL; >> >&

Core animation bug?

2008-05-28 Thread Henk Kampman
According the the documentaion bounds, boundsOrigin and boundsSize are animatable properties. However trying to do something like: NSRect newBounds = [myView bounds]; newBounds.origin.x += 100; [[myView animator] setBounds: newBound