Re: Basic Core Animation question

2008-04-15 Thread Greg Sabo
or the > autorelease pool may deallocate it. Also, where do you set the layer to a > view to be displayed? > > > On Apr 14, 2008, at 6:26 PM, Greg Sabo wrote: > > I think I'm doing those things, see below: > > > > //Setting object as delegate for CALayer >

Re: Basic Core Animation question

2008-04-14 Thread Greg Sabo
esome! On Mon, Apr 14, 2008 at 2:21 AM, Michael Vannorsdel <[EMAIL PROTECTED]> wrote: > Are you implementing the drawLayer:inContext: in your delegate object and > sure the object is set as the delegate and the draw method is called? > > > > On Apr 13, 2008, at 8:05 AM, Greg S

Re: Basic Core Animation question

2008-04-14 Thread Greg Sabo
nRect(theContext, theRect ); } On Mon, Apr 14, 2008 at 2:24 PM, David Duncan <[EMAIL PROTECTED]> wrote: > On Apr 13, 2008, at 12:01 AM, Greg Sabo wrote: > > Ah! It compiled. Thank you very much! And thanks to Michael for putting > > together the sample project. > > >

Re: Basic Core Animation question

2008-04-13 Thread Greg Sabo
> for QuartzCore. You're importing a header in a framework you aren't linking > to. > > Either link to Quartz.framework and import , or link to > QuartzCore.framework and import . > > > -- > m-s > > > > On 13 Apr, 2008, at 02:17, Greg Sabo wrote: &g

Re: Basic Core Animation question

2008-04-12 Thread Greg Sabo
> Did you put the QuartzCore framework in your project Frameworks? The > linker needs to know about QuartzCore before it can find the CALayer class > symbols. > > > On Apr 12, 2008, at 5:58 PM, Greg Sabo wrote: > > I'm a Compsci student trying to learn Cocoa develo

Basic Core Animation question

2008-04-12 Thread Greg Sabo
Hello, I'm a Compsci student trying to learn Cocoa development, and I'm trying to write a simple program using Core Animation, but I'm having a hard time getting it to work. I just need someone to tell me what I'm doing wrong so I can move on and screw up something else :) Thanks, and I apologize