随笔分类 -  iPhone

button with backgroundimage programmaticaly
摘要:UIImage *redButtonImage = [UIImage imageNamed:@"ExitButton.png"]; UIButton *redButton = [UIButton buttonWithType:UIButtonTypeCustom]; re... 阅读全文

posted @ 2013-08-27 00:21 fishyk

获取本地数据库
摘要:[[NSBundle mainBundle] pathForResource:@"holidays" ofType:@"db"]; 阅读全文

posted @ 2013-03-30 14:13 fishyk

iphone GCD
摘要:View Code dispatch_async(dispatch_get_global_queue(0, 0), ^{NSString *fetchedData = [self fetchSomethingFromServer];NSString *processedData = [self processData:fetchedData];NSString *firstResult = [self calculateFirstResult:processedData];NSString *secondResult = [self calculateSecondResult:processe 阅读全文

posted @ 2013-03-14 23:07 fishyk

Retrieve Path
摘要:Retrieve the path to the Documents directoru:NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);NSString *... 阅读全文

posted @ 2013-03-12 02:02 fishyk 阅读(184) 评论(0) 推荐(0)

导航