Re: Abstract class with single subclass

2009-05-27 Thread Freddie Tilley
On 27 mei 2009, at 16:51, Michael Ash wrote: On Wed, May 27, 2009 at 9:48 AM, Freddie Tilley wrote: If I would want to allocate a class which allocates a single subclass instead, to hide the class implementation details would this be the correct way of doing it? The following code would

Abstract class with single subclass

2009-05-27 Thread Freddie Tilley
class]]) { return [[SubClass alloc] init]; } else { return [super allocWithZone: aZone]; } } Freddie Tilley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Bug with QTCaptureLayer..........?

2009-01-22 Thread Freddie Tilley
suggestion where i am going wrong or its a bug with QTCaptureLayer.? It's a bug, and it is fixed in Snow Leopard. Freddie Tilley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

QTMovieLayer never being released?

2008-06-16 Thread Freddie Tilley
movielayer count low, and only have 2 qt movielayers max. during the swapping of layers. Freddie Tilley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

QTMovieLayer with QTMovie leaking memory

2008-03-26 Thread Freddie Tilley
leaks 64 bytes of memory. Is there something I'm not doing correctly. I'm only using the QTKit framework for loading the movies and placing them in the movielayer directly, so no under the hood Carbon calls. Is there some missing function to call after the movie has finished pla