• 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: Building a Parent and Dependent Project - Suggestions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building a Parent and Dependent Project - Suggestions?


  • Subject: Re: Building a Parent and Dependent Project - Suggestions?
  • From: Jeff Kelley <email@hidden>
  • Date: Thu, 14 Oct 2010 10:50:38 -0400

Gustavo,

You can do all this in one project by creating multiple Targets. One approach would be to define a preprocessor macro at the target level, then in your code handling it appropriately:

#ifdef TARGET_SETTING_1
// Some code.
#else
// Some other code.
#endif

This will allow you to share as much code and resources as you like, while still branching off into application- or language-specific code.

Jeff Kelley

On Oct 14, 2010, at 10:44 AM, Gustavo Pizano wrote:

Hello all.

I have to do an iOS application for 4 different languages, but as part as the marketing strategy the apps must be a stand alone app per language.


Thinking in the design, the only thing that will change on each app will be the text and sounds, so the Core shall be the same.

I have never done this before, but I think I shall create a Core Project and then per app/language create a dependent project simply adding the proper text, but they share the rest of the Core.

I have never done it before, of creating a "Parent" and "Dependent" projects, any suggestions, link, etc that might put me in the right direction? Because I dunno what should and shouldn't have the "Parent" project for example.

Thanks a lot.


Gustavo


Gustavo Pizano
X-Ware-Systems, 
Dostojevského rad 1
811 09 Bratislava 1
Slovakia
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Building a Parent and Dependent Project - Suggestions?
      • From: Gustavo Pizano <email@hidden>
References: 
 >Fwd: Building a Parent and Dependent Project - Suggestions? (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Fwd: Building a Parent and Dependent Project - Suggestions?
  • Next by Date: Treating link warnings as errors
  • Previous by thread: Fwd: Building a Parent and Dependent Project - Suggestions?
  • Next by thread: Re: Building a Parent and Dependent Project - Suggestions?
  • Index(es):
    • Date
    • Thread