Re: Fix Depracated call in Apple Sample Code?
Re: Fix Depracated call in Apple Sample Code?
- Subject: Re: Fix Depracated call in Apple Sample Code?
- From: Finlay Dobbie <email@hidden>
- Date: Fri, 3 Feb 2006 09:53:33 +0000
On 02/02/06, Jerry Krinock <email@hidden> wrote:
> on 06/01/26 16:52, Gregory Weston at email@hidden wrote:
> > Seems like the obvious answer is to fix the bug and then submit the
> > fix as part of the bug report. Any chance that the symbol for which
> > you're looking is __NSGetExecutablePath?
>
> No. They are NSIsSymbolNameDefined and NSLookupAndBindSymbol:
Yes, which are used for dynamically looking up and binding a symbol.
In particular, the symbol they are looking for is
__NSGetExecutablePath, which appeared in 10.2.
It's probably unlikely that you're going to be targeting pre-10.2 in
this day and age anyway, so I'd just eliminate the dynamic lookup
altogether (and the fallback which relies on nasty implementation
details).
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden