摘要:开源框架汇总: http://github.ibireme.com/github/list/ios/# http://ios-cosmos.com/ http://code4app.com/ 一、框架性: 1、 网络框架:AFNetworking、MKNetWork 2、CoreText框架、图文混排:WXLabel、 FTCoreText、 DTCoreText、...... 3、下拉刷新...
阅读全文
摘要:打开supporting file infoplist 中有个bundle display name 修改即可
阅读全文
摘要://NSAttributedString.h 中文本属性key的说明 /* NSFontAttributeName 设置字体属性,默认值:字体:Helvetica(Neue) 字号:12 NSForegroundColorAttributeName 设置字体颜色,取值为 UIColor对象,默认值为黑色 NSBackgroundColorAttrib...
阅读全文
摘要:1.打开数据库 int sqlite3_open( const char *filename, // 数据库的文件路径 sqlite3 **ppDb // 数据库实例 ); 2.执行任何SQL语句 int sqlite3_exec( sqlite3*, // 一个打开的数据库实例 ...
阅读全文
摘要:正则表达式30分钟入门教程 版本:v2.33 (2013-1-10) 作者:deerchao 转载请注明来源 目录 跳过目录 本文目标 如何使用本教程 正则表达式到底是什么东西? 入门 测试正则表达式 元字符 字符转义 重复 字符类 分枝条件 反义 分组 后向引用 零宽断言 负向零宽断言 注释 贪婪与懒惰 处理选项 平衡组/递归匹配 还有些什么东西没提到 联系作者 网上的资源及本文参考文献 ...
阅读全文
摘要:#ifdef __OBJC__ #endif
阅读全文
摘要:一.UIPickerView 1.UIPickerView的常见属性 // 数据源(用来告诉UIPickerView有多少列多少行) @property(nonatomic,assign) id dataSource; // 代理(用来告诉UIPickerView每1列的每1行显示什么内容,监听UIPickerView的选择) @property(nonatomic,assign) id d...
阅读全文
摘要:// // ViewController.swift// 闭包 import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() /* 闭包 类似于 block block是...
阅读全文
摘要:# Swift 入门 ## 简介 * Swift 语言由苹果公司在 2014 年推出,用来撰写 OS X 和 iOS 应用程序 * 2014 年,在 Apple WWDC 发布 ### 历史 * 2010 年 7 月,苹果开发者工具部门总监 `Chris Lattner(克里斯·拉特纳)` 开始着手 Swift 编程语言的设计工作 * 用一年时间,完成基本架构 * Swift 大约历经 ...
阅读全文
摘要:0. git —version 《查看git版本》 1. git clone ——git地址—— 2. ls 3. cd LYHSecondDocuments02/ 4. ls 5. git status -s 6. git add . //点表示添加所有 (如果修改了,需要再次添加) 7. git status -s //所有文件前缀A ,表示文件添加成功 6. git add...
阅读全文
摘要:// // EditViewController.m // 03_FetchedResultsController // // Created by JayWon on 15/10/13. // Copyright (c) 2015年 JayWon. All rights reserved. // #import "EditViewController.h" #import "Stud...
阅读全文
摘要:// // DataBaseManager.m // 02 SQLite in iOS // // Created by ZhuJiaCong on 16/5/3. // Copyright © 2016年 ZhuJiaCong. All rights reserved. // #import "DataBaseManager.h" //数据库相关头文件 #import #defi...
阅读全文
摘要:1.打开数据库 int sqlite3_open( const char *filename, // 数据库的文件路径 sqlite3 **ppDb // 数据库实例 ); 2.执行任何SQL语句 int sqlite3_exec( sqlite3*, // 一个打开的数据库实例 ...
阅读全文
摘要:// // ViewController.m // 01-CoreData基本使用 // // Created by mac on 16/5/4. // Copyright © 2016年 mac. All rights reserved. // #import "ViewController.h" #import #import "User.h" @interface ViewC...
阅读全文
摘要:// // ViewController.m // 02-CoreData-系统自带CoreData // // Created by mac on 16/5/4. // Copyright © 2016年 mac. All rights reserved. // #import "ViewController.h" #import "Student.h" #import "LYHCl...
阅读全文
摘要:// // ViewController.m // 01-CoreData基本使用 // // Created by mac on 16/5/4. // Copyright © 2016年 mac. All rights reserved. // #import "ViewController.h" #import #import "User.h" @interface ViewC...
阅读全文
摘要:DML、DDL、DCL区别 . 总体解释: DML(data manipulation language): 它们是SELECT、UPDATE、INSERT、DELETE,就象它的名字一样,这4条命令是用来对数据库里的数据进行操作的语言 DDL(data definition language): DDL比DML要多,主要的命令有CREATE、ALTER、DROP等,DDL主要是用...
阅读全文
摘要:1 // 2 // ViewController.m 3 // 01-属性列表使用 4 // 5 // Created by mac on 01/1/3. 6 // Copyright © 2001年 mac. All rights reserved. 7 // 8 9 /** 10 11 表:一张完整的数据表,用于记录数据 12 字段:数据表中的元素或者...
阅读全文
摘要:SQL语句总结 1.SQL 语句不区分大小写,关键字大写处理 2.SQL 语句中的命名不能喝关键字冲突 3.每条语句都以;结束。 4. DDL:数据定义型语言 1)创建表:CREATE TABLE studentTable (name text,identify text,age integer); 2)删除表:DROP TABLE movieTable; 5.DML:数据操作型语言...
阅读全文
摘要:首先,在正式使用Masonry之前,我们先来看看在xib中我们是如何使用AutoLayout 从图中我们可以看出,只要设置相应得局限,控制好父视图与子视图之间的关系就应该很ok的拖出你需要的需求。这里就不详细讲解具体拖拽的方法..... 然后,我们按着上图的属性来看看如何简单得使用Masonry 这里是Masonry给我们的属性 @property (nonatomic, stron...
阅读全文