上一页 1 2 3 4 5 6 7 ··· 10 下一页

2016年6月4日

摘要: 1 //: Playground - noun: a place where people can play 2 3 import UIKit 4 5 6 //1.if语句实现条件选择 7 //(1)单分支 8 var age = 9 9 10 if age = 90 { 33 grade = "A" 34 } else if score... 阅读全文
posted @ 2016-06-04 10:24 爱你久久iOS 阅读(134) 评论(0) 推荐(0) 编辑
摘要: //: Playground - noun: a place where people can play import UIKit //----------运算符的使用--------- //1.赋值运算符 var a = 0 var b = 1 //赋值运算符不返回值,不能用作条件判断 swift安全性的体现 b = a //2.算术运算符 let sum = 9 + 4 let m... 阅读全文
posted @ 2016-06-04 10:23 爱你久久iOS 阅读(162) 评论(0) 推荐(0) 编辑
摘要: //: Playground - noun: a place where people can play //简洁的方式来包含框架,直接写框架名称 import UIKit //var str = "Hello, playground" //println(); //swift1.0中使用此函数来打印 print("hello world") //swift2.0打印方式 //1.与OC的... 阅读全文
posted @ 2016-06-04 10:21 爱你久久iOS 阅读(378) 评论(0) 推荐(0) 编辑

2016年6月3日

摘要: # 开源中国社区 ## 官方网站 https://git.oschina.net/ * 开源中国社区成立于2008年8月,其目的是为中国的IT技术人员提供一个全面的、快捷更新的用来检索开源软件以及交流使用开源经验的平台 * 目前国内有很多公司会将公司的项目部署在 `OSChina` ### 与 `GitHUB` 的对比 1. 服务器在国内,速度更快 2. 免费账户同样可以建立 `私有` ... 阅读全文
posted @ 2016-06-03 14:36 爱你久久iOS 阅读(195) 评论(0) 推荐(0) 编辑

2016年5月25日

摘要: 开源框架汇总: http://github.ibireme.com/github/list/ios/# http://ios-cosmos.com/ http://code4app.com/ 一、框架性: 1、 网络框架:AFNetworking、MKNetWork 2、CoreText框架、图文混排:WXLabel、 FTCoreText、 DTCoreText、...... 3、下拉刷新... 阅读全文
posted @ 2016-05-25 08:56 爱你久久iOS 阅读(170) 评论(0) 推荐(0) 编辑

2016年5月21日

摘要: 打开supporting file infoplist 中有个bundle display name 修改即可 阅读全文
posted @ 2016-05-21 15:36 爱你久久iOS 阅读(153) 评论(0) 推荐(0) 编辑

2016年5月16日

摘要: //NSAttributedString.h 中文本属性key的说明 /* NSFontAttributeName 设置字体属性,默认值:字体:Helvetica(Neue) 字号:12 NSForegroundColorAttributeName 设置字体颜色,取值为 UIColor对象,默认值为黑色 NSBackgroundColorAttrib... 阅读全文
posted @ 2016-05-16 18:30 爱你久久iOS 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-16 09:14 爱你久久iOS 阅读(86) 评论(0) 推荐(0) 编辑

2016年5月15日

摘要: 1.打开数据库 int sqlite3_open( const char *filename, // 数据库的文件路径 sqlite3 **ppDb // 数据库实例 ); 2.执行任何SQL语句 int sqlite3_exec( sqlite3*, // 一个打开的数据库实例 ... 阅读全文
posted @ 2016-05-15 21:35 爱你久久iOS 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-15 09:20 爱你久久iOS 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页

导航