Re: Proper way to set up constants when building an iOS framework
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