Re: No Animation Controller Class, but it's there.
Re: No Animation Controller Class, but it's there.
- Subject: Re: No Animation Controller Class, but it's there.
- From: Charles Steinman <email@hidden>
- Date: Tue, 3 Jul 2007 20:40:14 -0700 (PDT)
I don't see any AnimationController class in your
project. The only files in there other than the
standard boilerplates Xcode gives you are
AnimationView.h and AnimationView.m. Setting an
object's class to AnimationController in the nib
doesn't actually cause the AnimationController class
to exist if you haven't created it.
Cheers,
Chuck
--- David Arnold <email@hidden> wrote:
> All,
>
> I am getting this when my project begins its run:
>
> Animation has exited with status 0.
> [Session started at 2007-07-03 19:44:44 -0700.]
> 2007-07-03 19:44:44.427 Animation[5163] Unknown
> class
> `AnimationController' in nib file, using `NSObject'
> instead.
> 2007-07-03 19:44:44.440 Animation[5163] Could not
> connect the action
> changeXSpeed: to target of class NSObject
> 2007-07-03 19:44:44.440 Animation[5163] Could not
> connect the action
> changeYSpeed: to target of class NSObject
>
> I am pretty sure I have an AnimationController and
> things wired up
> correctly:
>
>
http://online.redwoods.edu/instruct/darnold/cocoa/Animation.zip
>
> When I look in classes.nib, I see:
>
> {
> IBClasses = (
> {
> ACTIONS = {changeXSpeed = id;
> changeYSpeed = id; };
> CLASS = AnimationController;
> LANGUAGE = ObjC;
> OUTLETS = {animationView = id; };
> SUPERCLASS = NSObject;
> },
> {
> ACTIONS = {changeXSpeed = id;
> changeYSpeed = id; };
> CLASS = AnimationView;
> LANGUAGE = ObjC;
> OUTLETS = {animationView = id; };
> SUPERCLASS = NSView;
> },
> {CLASS = FirstResponder; LANGUAGE = ObjC;
> SUPERCLASS =
> NSObject; }
> );
> IBVersion = 1;
> }
>
> Any ideas? Thanks.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator
> comments to the list.
> Contact the moderators at
> cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden