• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FW: Weak-link to a framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: Weak-link to a framework


  • Subject: FW: Weak-link to a framework
  • From: Matthew Formica <email@hidden>
  • Date: Fri, 23 Aug 2002 12:51:40 -0700

Unfortunately, the ideal solution won't be helpful for this sort of thing
until the *next* major rev of Mac OS X. Mac OS X version 10.2 has new
weak-linking support, so we're set for the future, but 10.1 doesn't, so for
now, if you want to use AddressBook.framework in a way that is compatible
with 10.1, you'll need to load the framework manually if it exists using
NSBundle or CFBundle, and load symbols from it yourself. Note that binaries
that weak-link symbols are not compatible with 10.1.

- Matthew

On 8/23/02 11:31 AM, "Bruno Blondeau" <email@hidden> wrote:

> I'd link to do with Cocoa frameworks something similar to what was called a
> weak-link with MacOS 8/9 stub libraries.
>
> To be more specific, I have an application that uses the
> AddressBook.framework, but I'd like to make it run under MacOS X 10.1. The
> code is already conditionalized for both 10.1 and 10.2, but if I link
> against the AB framework, my application no longer launches.
>
> Any idea?
>
> Thanks in advance,
>
> Bruno Blondeau www.iOrganizeX.com
> _______________________________________________
> projectbuilder-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
> Do not post admin requests to the list. They will be ignored.
>

------ End of Forwarded Message
_______________________________________________
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.

  • Prev by Date: Implicit Declaration Warning
  • Next by Date: Re: Making a NSFormatter receive special keys
  • Previous by thread: Implicit Declaration Warning
  • Next by thread: Re: Static variable intiialization (Was: Re: EXC_BAD_ACCESS in an strange place)
  • Index(es):
    • Date
    • Thread