• 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
Subject: Re: How to share Cocoa classes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subject: Re: How to share Cocoa classes?


  • Subject: Subject: Re: How to share Cocoa classes?
  • From: "Alexander Bokovikov" <email@hidden>
  • Date: Mon, 6 Jul 2009 19:01:31 +0600

Thank you, Jesse, but just a couple of points to clarify:

Static library linking with ObjC class, most likely could be done
successfully by only adding -ObjC and -all_load to the "Other Linker
Flags" in the build configuration.

Is this option applicable to library project settings or to a project where this library is called from?

To be able to use
#import <MyDir/MyClass.h>,
you need to add a header search path, that refers to that global
directory (or system directory, if you prefer) in your project
settings.

Could you please give an example of particular directories, where I could put headers as well as the library? All directories at root level are write-protected. What is the correct location to put my own libraries?

Also what particular settings are responsible for headers (and libraries) search path?

Thank you!

_______________________________________________

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


  • Follow-Ups:
    • Re: Subject: Re: How to share Cocoa classes?
      • From: Jesse Armand <email@hidden>
  • Prev by Date: Re: How to share Cocoa classes?
  • Next by Date: Re: Setting a document's icon and default app
  • Previous by thread: Re: CoreData deleteAll of kind
  • Next by thread: Re: Subject: Re: How to share Cocoa classes?
  • Index(es):
    • Date
    • Thread