Re: dock animation available ?
Re: dock animation available ?
- Subject: Re: dock animation available ?
- From: Robert Miller <email@hidden>
- Date: Wed, 31 Dec 1969 20:56:56 -0500
- Organization: RFM & Associates
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];
Thanks,
Bob M.
Sandy Martel wrote:
>
On Wednesday, February 6, 2002, at 05:47 PM, Robert Miller wrote:
>
>
> Hello,
>
>
>
> Can someone tell me if there is an API to in Cocoa that will do the
>
> puff of smoke animation that happens when an icon is dragged out of the
>
> dock onto the desktop such that the animation can be used in other areas
>
> or in a window. Or is there at least access to this animation / movie
>
> resource ?
>
>
>
>
Try this:
>
>
[NSClassFromString(@"NSToolbarPoofAnimator") runPoofAtPoint:thePoint];
>
>
but don't use it...its very undocumented ;-)
>
>
Sandy.
_______________________________________________
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.