Re: dock animation available ?
Re: dock animation available ?
- Subject: Re: dock animation available ?
- From: Simon Stapleton <email@hidden>
- Date: Thu, 07 Feb 2002 15:44:47 +0000 (GMT)
>
From: Robert Miller <email@hidden>
>
Reply-To: email@hidden
>
Organization: RFM & Associates
>
To: Sandy Martel <email@hidden>
>
CC: email@hidden
>
Subject: Re: dock animation available ?
>
>
Hi Sandy,
>
Seems to be able to create the class and then instance the poof
>
object
>
but gets a 'selector not recognized' error when running ? any
ideas ?
>
Here's the code I implemented..
>
>
NSPoint pt = [self convertPoint:[self frame].origin toView:nil];
>
Class poof = NSClassFromString(@"NSToolbarPoofAnimator");
>
id poofer = [[poof alloc] init];
>
>
>
[poofer runPoofAtPoint:pt];
>
[poofer release];
<snippage>
>
> Try this:
>
>
>
> [NSClassFromString(@"NSToolbarPoofAnimator")
>
runPoofAtPoint:thePoint];
>
>
>
> but don't use it...its very undocumented ;-)
You'll notice that in the example you were given, runPoofAtPoint: was
shown as being a class selector.
In your example, you're trying to use it on an instance.
Simon
--
PGP Key ID : 0x50D0698D
--
If the answer isn't obvious, the question is a distraction. Go find
an easier question.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.