Macros úteis para projeto iOS
//Debug#define debug(…) NSLog(@”%s %@”, __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])// 2.1 Easy RGB for convenience#define RGB(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]// 2.2 Gets the path of a file inside the documents …
Continuar lendo