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

Re: How to share Cocoa classes?


  • Subject: Re: How to share Cocoa classes?
  • From: Jesse Armand <email@hidden>
  • Date: Tue, 7 Jul 2009 03:20:36 +0800

>
> Nevertheless, I'd appreciate it highly, if you'll guide me through the XCode
> project settings adjustment, as it sounds foggy for me, how to make static
> library to rebuild itself when main project is built. What particular
> settings should I add to the main project?

Add the target of the project (which will produce the library) to the
project dependencies that's using the static library.

>
> Also it's not clear, where to put that "common" header file? What is the
> correct location for that? Am I correct in my understanding, that placing
> this .h file into the right place I'll have the ability to include my
> classes (stored in static library) by single #import<mysubdir/myincfile.h> ?
> If yes, then it is just, what I'd like to get! The same question is about
> static library itseklf -- where it should be located? Should I create my own
> directory system or is it better to use some standard (system) directories
> for that? If I must use my own directories, then where should I add a path
> to them to avoid the necessarity to add this path to every new XCode project
> manually?
>

Just create your own directory system, that would be simpler.

To automate the inclusion of that path, you may be able to use Xcode
configuration settings file.
_______________________________________________

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: 
 >How to share Cocoa classes? (From: "Alexander Bokovikov" <email@hidden>)
 >Re: How to share Cocoa classes? (From: Steve Christensen <email@hidden>)
 >Re: How to share Cocoa classes? (From: "Alexander Bokovikov" <email@hidden>)

  • Prev by Date: Terminating UIApplication and exit() (was Re: NSApplication and UIApplication)
  • Next by Date: Re: TableView displaying a zillion empty rows
  • Previous by thread: Re: How to share Cocoa classes?
  • Next by thread: Re: How to share Cocoa classes?
  • Index(es):
    • Date
    • Thread