In this case, the easiest way to determine these constants is to use a keyword let. Macros are not available in Swift, so in this case you should use constants (which might be better in terms of performance in this case):
let IS_IPHONE5 = fabs(UIScreen.mainScreen().bounds.size.height-568) < 1;
let IS_IPAD = (UI_USER_INTERFACE_IDIOM()==UIUserInterfaceIdiomPad);
let IS_IOS8 = (UIDevice.currentDevice().systemVersion.floatValue >= 8)
let APP_DEFAULT_FONT_FACE_NAME = "HelveticaNeue-Light";
let APP_DEFAULT_FONT_FACE_THIN_NAME = "HelveticaNeue-UltraLight";
let APP_VERSION_STRING = "1.2";
IS_IPHONE5, fabs, . , , ...
IS_IOS7 Swift, Swift iOS 7 (IS_IOS7 YES Swift.) IS_IOS8...