现在位置: 首页 >

所有关于iPad开发乱记的文章

iPad开发乱记.002

2010年11月25日 软件开发  ⁄ 共 7028字 /评论:+0°
Logging In Xcode, click Run > Console to see NSLog statements. [php]NSLog(@"log: %@ ", myString); NSLog(@"log: %f ", myFloat); NSLog(@"log: %i ", myInt);[/php] Display Images Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well. [php]CGRect myImageRect = CGRectMake(0.0f, 0.0f, 320.0f, 109.0f); UIImageV... 阅读全文

iPad开发乱记.001

2010年11月25日 软件开发  ⁄ 共 1089字 /评论:+0°
iPad字符串行数统计 [php]NSString *string = @"第一行\n第二行\n第三行"; NSInteger length = [[string componentsSeparatedByCharactersInSet:[NSCharacterSet newlineCharacterSet]] count]; [/php] Reloading the View Picker [php]- reloadAllComponents [/php] CoreData multiple conditions [php]NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(lastName like[cd] %@) AND (birthday >... 阅读全文
×
#