• 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: Tue, 19 Apr 2016 11:58:42 -0700

> On Apr 19, 2016, at 10:13 AM, Alex Zavatone <email@hidden> wrote:
>
> No.  I'm simply trying to find out how to make my constants.h (which has the constants.m as well) visible to all of the classes in my framework, just as the .pch would be visible to all of the classes within an iOS app.

Add #import “constants.h” to the .pch file of the framework target.

—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: Jens Alfke <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: 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: Proper way to set up constants when building an iOS framework
  • Next by Date: Re: BOOL parameter passed as nil object
  • 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