Re: Method-deprecated warning, but can't find method in project
Re: Method-deprecated warning, but can't find method in project
- Subject: Re: Method-deprecated warning, but can't find method in project
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 29 Jun 2010 08:17:36 -0400
On Jun 29, 2010, at 7:21 AM, Bill Cheeseman wrote:
> I see a method-deprecated warning when I run my app, but when I search all my project files for the method I don't find it. Does this mean Apple is calling the deprecated method in one of the Cocoa frameworks? The method in question is -[NSProgressIndicator animate:].
>
> When I search "In Project and Frameworks" I don't find any .m files for the frameworks, of course, but I do find this hit, which I don't understand:
>
> AppKitFull.bridgesupport
> <method selector='animate:'>
>
> Hmm, thinking out loud: I am using the Scripting Bridge framework, and I haven't rebuilt the AppleScript terminology header for the System Events application using the sdp tool since Tiger. I guess that might be it?
I think rebuilding the System Events.h terminology header did the trick, but I can't be certain because I'm not 100% sure what I did in the running application that generated the original runtime warning.
(Correction: I hadn't rebuilt the terminology header since Leopard, when Scripting Bridge was introduced.)
--
Bill Cheeseman - email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden