原创 切換視圖 UIViewController
RootViewController.m代碼: - (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor=[UIColor yellowC
原创 瀏覽器解析PHP文件 出現純代碼
1.訪問PHP 出現代碼 2.修改文件 4.去掉# 註釋 5.重新啓動 就可以啦
原创 could not launch "" process launch failed:Security
iPad上鍊接運行後也會報如下提示 解決方法: 設置-》通用-》設備管理-》開發商應用-》點擊信任-》出現最後圖片中狀態就可以正常運行了
原创 蘋果開發者證書
第一步:https://developer.apple.com/ 第二步: 第三步: 第四步: 第五步: http://www.cocoachina.com/ios/20160711/17004.html 參考自
原创 IOS中塊Block
- (void)viewDidLoad { [superviewDidLoad]; //函數必須聲明在函數的外部 //聲明塊 void (^show)(); //賦值 show=^(){N
原创 IOS線程的四種方法
第一種:NSThread NSThread *thread=[[NSThread alloc]initWithTarget:self selector:@selector(runningTap:) object:nil];
原创 jeeplus Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key in 'rea
jeeplus Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key in 'reader' 在application.y
原创 解決PHP+Navicat for Mysql插入數據亂碼問題
1.html頁面文件頭中加入 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 2.PHP頁面開始部分加入 header("Content-
原创 安裝openfire服務器端 微信聊天客戶端
1.下載服務器端openfire 下載對應的windows/Linux/Mac http://www.igniterealtime.org/downloads/index.jsp#openfire 2.下載客戶端spark http:/
原创 卸載jdk+刪除javaControlPanel
/Library/Java/JavaVirtualMachines/ 中刪除對應的jdk 在Finder文件中搜索JavaAppletPlugin.plugin文件然後刪除; 或者終端命令:sudo rm -fr /Library/Int
原创 IOS解析XML文檔中,NSXMLParser的parser事件一直沒執行
一直網上搜索各種原因, 其實只是自己粗心,XML文件中utf-8中-寫成了中文下的-,所以一直讀取不出來。
原创 安裝Cocoapods 報錯ERROR: Error installing cocoapods: activesupport requires Ruby version >= 2.2.2.
代表Ruby需要更新了。 sudo gem update --system 發現還是報錯需要更新 需要執行其他操作更新 curl -L get.rvm.io | bash -s stable source ~/.bash
原创 mac中安裝activeMQ
按照大神的安裝方法一步到位 http://blog.csdn.net/whereismatrix/article/details/47303613
原创 iOS更改項目文件名稱報錯 文件找不到 一片紅
http://blog.sina.com.cn/s/blog_a42013280101blxo.html 通過這帖子解決的,謝謝大神!!!
原创 MyBatis 筆記
Mybatis中的like模糊查詢 Mybatis傳遞多個參數 Mybatis 插入與批量插入以及多參數批量刪除 mybatis在xml文件中處理大於號小於號的方法 myBatis 如何接受 返回count(*),sum()得到的in