In ObjC I used to do: CommonDefines.h #define PARAMETER_A 17 and then import CommonDefines.h into all files which have to know this parameter.
But how do I make a Swift file and an ObjC file both aware of the value of PARAMETER_A? Keeping both in sync is rather error prone; I much rather have the value in only one place (like my CommonDefines.h). Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com