• 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: Common Date between Swift and ObjC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Common Date between Swift and ObjC


  • Subject: Re: Common Date between Swift and ObjC
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 13 Aug 2014 00:57:22 +0700

On 13 Aug 2014, at 00:52, Jeff Kelley <email@hidden> wrote:

> Gerriet,
>
> 	You should be able to make a constant variable, not a preprocessor definition, and import the file that declares it in your project’s bridging header. Something like this:
>
> in Constants.h:
> extern const NSInteger kParameterA;
>
> in Constants.m:
> const NSInteger kParameterA = 17;
>
> Then, in your bridging header, you’d import Constants.h.

Sounds like a good idea. I will try it tomorrow.
Thanks a lot!


Kind regards,

Gerriet.


_______________________________________________

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: 
 >Common Date between Swift and ObjC (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Common Date between Swift and ObjC (From: Jeff Kelley <email@hidden>)

  • Prev by Date: iOS deferred purchases
  • Next by Date: Re: Mod (%) function in C/Objective-C?
  • Previous by thread: Re: Common Date between Swift and ObjC
  • Next by thread: Re: Common Date between Swift and ObjC
  • Index(es):
    • Date
    • Thread