Icon/Default

  • Icon
    Icon.png57 x 57
    Icon@2x.png114 x 114
    Icon-72.pngiPad72 x 72
    Icon-Small.png29 x 29
    Icon-Small-50.png50 x 50
    Icon-Small-@2x.png58 x 58
  • Default
    Default.png320 x 480
    Default@2x.png640 x 960
    Default-Portrait.png1004 x 768
    Default-Landscape.png768 x 1004
    Default-PortraitUpsideDown?.png1004 x 768
    Default-LandscapeLeft?.png768 x 1004
    Default-LandscapeRight?.png768 x 1004

three20

  • Homepage
    http://three20.info/
  • github
    https://github.com/facebook/three20

DEBUG

  1. NSZombieEnabled?YES
    MallocStackLogging?YES
    NSDebugEnabled?YES

DEBUG LOG

  • CGRect, CGSize, CGPoint
    NSLog(@"frame: %@", NSStringFromCGRect(self.view.frame));
    NSLog(@"size: %@", NSStringFromCGSize(self.view.frame.size));
    NSLog(@"center: %@", NSStringFromCGPoint(self.view.center));
  • UIView
    NSLog(@"%@", [view performSelector:@selector(recursiveDescription)]);
  • #ifdef DEBUG
    #define DBLog(s, ...) NSLog(@"<%@:(%d)> %@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__])
    #else
    #define DBLog(s, ...) 
    #endif

#define RGB(r, g, b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]
#define RGBA(r, g, b, a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: Thu, 14 Jun 2012 12:24:07 JST (4328d)