摘要: 先推荐个专家博客:http://blog.csdn.net/dongfengsun/category/597201.aspxOpenGL ES游戏是这样写成的 http://cocoachina.com/bbs/read.php?tid-2687.html西蒙的教程中文版 http://www.cocoachina.com/bbs/read.php?tid-7086.htmlcocoaChina讨论区 http://www.cocoachina.com/bbs/thread.php?fid-18.htmlCocos2d中文版白皮书 http://bbs.weiphone.com/simple/ 阅读全文
posted @ 2011-08-07 14:50 痴人指路 阅读(480) 评论(0) 推荐(0) 编辑
摘要: NSLog(@"%@:%@",NSStringFromSelector(_cmd),[[self class] description]);[[NSUserDefaults standardUserDefaults] valueForKey:@"SBFormattedPhoneNumber"];//获取本地iphone手机号码///////////////获取手机的imei#import "Message/NetworkController.h"NetworkController *ntc=[[NetworkController sh 阅读全文
posted @ 2011-08-07 14:38 痴人指路 阅读(339) 评论(3) 推荐(0) 编辑
摘要: 本文引用自hackbin《iPhone代码片段收集》1.stringWithFormat 用法: [NSStringstringWithFormat:@"Hight:%d°%@Low:%d°%@",[Temp],@"C",[lTemp],@"C"]; NSString to NSData:NSString* str= @"kilonet";NSData* data=[str dataUsingEncoding:NSUTF8StringEncoding]; 2. NSDate 用法: NSDate 阅读全文
posted @ 2011-08-07 14:33 痴人指路 阅读(172) 评论(0) 推荐(0) 编辑