• 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 Cocoa Library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static Cocoa Library


  • Subject: Re: Static Cocoa Library
  • From: Graham Cox <email@hidden>
  • Date: Sun, 07 Oct 2012 17:30:44 +1100

On 07/10/2012, at 7:05 AM, koko <email@hidden> wrote:

>
> On Oct 6, 2012, at 11:01 AM, Seth Willits wrote:
>
>> use a framework to keep the images bundled with the library
>
> Does the Framework Bundle behave as an App Bundle, i.e. is Bundle a Bundle no matter what?


A framework is not the same thing as a static library, so what do you want?

A static library is just code that ends up as part of your app, just like any other source code. A framework has its own bundle, which can be contained within an application's bundle. The framework's resources can be part of the framework bundle rather than the app's bundle (and will usually make sense to organise that way). Frameworks aren't hard to make but they bring some downsides, including greater complexity, potential for namespace collisions, etc.

Unless you have a truly reusable piece of code that finds many different applications, there's probably little reason to make a framework.


--Graham



_______________________________________________

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 Cocoa Library (From: koko <email@hidden>)
 >Re: Static Cocoa Library (From: Seth Willits <email@hidden>)
 >Re: Static Cocoa Library (From: koko <email@hidden>)

  • Prev by Date: Re: Static Cocoa Library
  • Next by Date: Size limit on .icns files containing 1024x1024 version in 10.5?
  • Previous by thread: Re: Static Cocoa Library
  • Next by thread: NSViewController
  • Index(es):
    • Date
    • Thread