• 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
Re: Static Libary which links against Foundation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static Libary which links against Foundation


  • Subject: Re: Static Libary which links against Foundation
  • From: Christian Ziegler <email@hidden>
  • Date: Thu, 15 Apr 2010 10:50:39 +0200

On 11.04.2010, at 19:25, Jens Alfke wrote:

>
> On Apr 11, 2010, at 5:07 AM, Christian Ziegler wrote:
>
>> it makes sense to convert this library to a static library. I did that and stumbled upon the problem that my test app (C-Shell-Toll) now has to link against Foundation. I would like to avoid that since the library should encapsulate everything which is Objective-C. Is that even possible?
>
> Not really. Any binary that contains calls into a framework has to link against that framework. If you include a static library in your app, it becomes part of the app binary, by definition.
>
> There shouldn’t be any problem with having the app link against Foundation.
>
> —Jens



OK thanks!_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Static Libary which links against Foundation (From: Christian Ziegler <email@hidden>)
 >Re: Static Libary which links against Foundation (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Colored checkboxes like in iCal
  • Next by Date: Setting a subclass of NSButtonCell in code
  • Previous by thread: Re: Static Libary which links against Foundation
  • Next by thread: Cocoa scripting support - background helper app
  • Index(es):
    • Date
    • Thread