xcode 護眼theme

參考
http://www.robinlu.com/blog/archives/320
http://www.robinlu.com/blog/archives/320
cp /Users/mac/Downloads/DarkCity.dvtcolortheme ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
到Xcode->Perference 裡換

test code hightlight


-(NSString*)imageFromindex:(NSInteger)index{
    NSArray *imageList = @[@"AA041",@"AA077",@"AA172",@"AA192",@"AA195",@"AB005",@"AB009",@"AB010",@"AB018",@"AB025",@"AB026",@"AB034",@"AB041",@"AB057",@"AB073",@"AB100",@"BA006",@"CA033",@"CA058",@"CA060",@"CA062",@"CA105",@"CA168",@"CA222",@"CA223"];
    
    NSString*imageName = [imageList objectAtIndex:arc4random()%[imageList count]];
    return [NSString stringWithFormat:@"%@.png",imageName];
}





前面使用 http://hilite.me/
下面是 pastebin

UITable customize

一狗票文章

官方的
https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/TableView_iPhone/TableViewCells/TableViewCells.html#//apple_ref/doc/uid/TP40007451-CH7-SW20

http://gibuloto.com/blog/uitableview/

git under MAC OSX Lion

Git not found:

有git後
http://help.github.com/mac-set-up-git/
https://github.com/settings/ssh