2017年6月16日

gomobile build

摘要: You need to set the NDK path in gomobile init using the -ndk flag - if you follow these instructions, the path should be ~/Library/Android/sdk/ndk-bun 阅读全文

posted @ 2017-06-16 10:43 风乔 阅读(415) 评论(0) 推荐(0) 编辑

2017年5月19日

HMCharacteristicType 承接homekit 外包开发 微信 ELink9988

摘要: 承接homekit 开发 微信 ELink9988 让HMCharacteristicTypePowerState:String配件的电源状态。该值是一个布尔值。让HMCharacteristicTypeHue:String配件使用的颜色的色调 - 通常是一个光。该值是弧度的浮点数。让HMChara 阅读全文

posted @ 2017-05-19 11:10 风乔 阅读(407) 评论(0) 推荐(0) 编辑

HMLocationEvent

摘要: region1.notifyOnEntry = YES; 阅读全文

posted @ 2017-05-19 10:20 风乔 阅读(210) 评论(0) 推荐(0) 编辑

2017年5月4日

windows 10 搭建go环境

摘要: 1. 到 https://golang.org/ 下载go 的msi安装包。安装后 GOROOT 已经自动帮你设置好。 2.设置GOPATH 不能跟 GOROOT 同一个目录。到系统环境变量里新增一个 GOPATH 比如 D:\GoProject 3. 安装 GCC C++ Exceptions有D 阅读全文

posted @ 2017-05-04 14:41 风乔 阅读(331) 评论(0) 推荐(0) 编辑

2017年5月2日

Android studio 添加admob googgle play services

摘要: Android studio 添加admob googgle play services <!-- Used to request banner and interstitial ads. --> <uses-permission android:name="android.permission.I 阅读全文

posted @ 2017-05-02 18:03 风乔 阅读(481) 评论(0) 推荐(0) 编辑

2011年9月8日

多语言

摘要: 說明:依系統設定的語言自動切換適合的顯示字串操作:在Interface Builder設計時的介面若系統設定為English則顯示英文介面若系統設定為繁體中文則顯示為中文介面如何建立自定的語系檔:1.在Resources分類下新增檔案 [右鍵/Add/New File...]2.在範本的分類選擇Other後再選擇 Strings File3.將存檔檔名設定為 Localizable.strings... 阅读全文

posted @ 2011-09-08 09:42 风乔 阅读(158) 评论(0) 推荐(0) 编辑

2011年9月7日

透明toolbar item

摘要: -(void)GreateDatePicker33{ if ([self.Type isEqualToString:@"car"]) { //[self.toolBar setHidden:YES]; //self.navigationController.hidesBottomBarWhenPushed=YES; DatePickerToolbar = [[UIView ... 阅读全文

posted @ 2011-09-07 17:47 风乔 阅读(381) 评论(0) 推荐(0) 编辑

2011年9月2日

url

摘要: http://woshao.com/article/37869c84d44211e08585000c2959fd2a/ 阅读全文

posted @ 2011-09-02 14:29 风乔 阅读(103) 评论(0) 推荐(0) 编辑

2011年8月30日

NSURLConnection 代理

摘要: @interfaceDownloadDelegate:NSObject-(void)connection:(NSURLConnection*)connection didReceiveResponse:(NSURLResponse*)response;-(void)connection:(NSURLConnection*)connection didReceiveData:(NSData*)dat... 阅读全文

posted @ 2011-08-30 21:41 风乔 阅读(171) 评论(0) 推荐(0) 编辑

获取当前位置

摘要: http://stackoverflow.com/questions/3535800/cllocationmanager-strange-memory-leak#import #import @protocol MapLocationManagerDelegate@required- (void)locationUpdate:(CLLocation *)location;- (void)loca... 阅读全文

posted @ 2011-08-30 17:56 风乔 阅读(255) 评论(0) 推荐(0) 编辑

导航