• 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: Proper way to set up constants when building an iOS framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper way to set up constants when building an iOS framework


  • Subject: Re: Proper way to set up constants when building an iOS framework
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 20 Apr 2016 11:35:12 -0700

> On Apr 20, 2016, at 11:11 AM, Alex Zavatone <email@hidden> wrote:
>
> I wasn't thinking that I'd make yet another header, (the .pch) to then include the constants header and then it would need to be at the same level in the framework as the constants file or would need to be able to see the path to it in the #import.

You don’t actually need to make a separate .pch file. You could configure the target’s Prefix Header path to point directly at Constants.h. The point is just that every type of target can have a prefix header, not just an application.

—Jens
_______________________________________________

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: 
 >Proper way to set up constants when building an iOS framework (From: Alex Zavatone <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Charles Jenkins <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Alex Zavatone <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Uli Kusterer <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Alex Zavatone <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Jens Alfke <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Alex Zavatone <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Jens Alfke <email@hidden>)
 >Re: Proper way to set up constants when building an iOS framework (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: How to make an app launch on login?
  • Next by Date: Re: How to make an app launch on login?
  • Previous by thread: Re: Proper way to set up constants when building an iOS framework
  • Next by thread: Re: Proper way to set up constants when building an iOS framework
  • Index(es):
    • Date
    • Thread