ios gcd加载图片

摘要: dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ NSString *urlString = @"http://img0.pconline.com.cn/pconline/1... 阅读全文
posted @ 2014-05-23 14:50 gpluscat 阅读(446) 评论(0) 推荐(0) 编辑

ios粘贴功能

摘要: NSString *path = [[NSBundlemainBundle] pathForResource:@"tmp_add"ofType:@"txt"]; NSString *aStr = [NSStringstringWithContentsOfFile:path encoding:N... 阅读全文
posted @ 2014-05-23 14:45 gpluscat 阅读(252) 评论(0) 推荐(0) 编辑

ios系统声音

摘要: #import #import @interface PlaySound : NSObject{ SystemSoundID sound;//系统声音的id 取值范围为:1000-2000}- (id)initSystemShake;- (id)initSystemSoundWithName:(N... 阅读全文
posted @ 2014-05-23 14:42 gpluscat 阅读(216) 评论(0) 推荐(0) 编辑

mac svn 用法

摘要: svn updatesvn add --force *svn ci --message "本次提交修改如下内容 " 阅读全文
posted @ 2014-05-23 14:38 gpluscat 阅读(131) 评论(0) 推荐(0) 编辑

How to Install apk to Android Devices from Mac OS X

摘要: ##adb命令是安装到platform-tools目录中,而非上一步android命令所在的tools目录。$ cd /opt/local/share/java/android-sdk-mac_x86/platform-tools##先探测是否可以正确识别设备,有设备号和device字样表示正确识别... 阅读全文
posted @ 2014-05-23 14:37 gpluscat 阅读(171) 评论(0) 推荐(0) 编辑

制做服务器用的推送证书

摘要: 1 iOS制做服务器的推送证书 a 请求证书 b 导出密钥 c 制做推送ssl certificate d 制做服务器用的证书1、Push.certSigningRequest2、Push.p123、aps_developer_identity.cer终端1、将aps_developer_ident... 阅读全文
posted @ 2014-05-23 14:30 gpluscat 阅读(176) 评论(0) 推荐(0) 编辑

iOS添加Google语言识别功能

摘要: #import #import #import @interface RootViewController : UIViewController{ AVAudioRecorder *recoder; NSURLConnection *urlConnection; NSMutabl... 阅读全文
posted @ 2014-05-23 14:27 gpluscat 阅读(249) 评论(0) 推荐(0) 编辑