NewsBlur/media/ios/NewsBlur_Prefix.pch

23 lines
709 B
Text
Raw Normal View History

//
// Prefix header for all source files of the 'NewsBlur' target in the 'NewsBlur' project
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
// #import "TestFlight.h"
#define UIColorFromRGB(rgbValue) [UIColor \
colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
2012-08-03 00:13:56 -07:00
// #define BACKGROUND_REFRESH_SECONDS -5
#define BACKGROUND_REFRESH_SECONDS -10*60
2012-08-07 09:57:21 -07:00
// #define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.host"]
2012-08-08 10:57:38 -07:00
#define NEWSBLUR_URL [NSString stringWithFormat:@"dev.newsblur.com"]
2012-07-13 18:14:32 -07:00
#define NEWSBLUR_ORANGE 0xAE5D15
#endif