2015年10月16日
摘要: > 注意:本人水平有限,如有错误,请说下哈> >注意:advance的使用,在xcode 7beta版 跟 xcode 7.0.1 (7的正式版,我没用)是不一样的###前奏,在使用`Mirror`之前我们先建立一个对象,方便测试!创建Person.swift,文件内容如下:```import UI... 阅读全文
posted @ 2015-10-16 13:57 言十年 阅读(240) 评论(0) 推荐(0) 编辑
  2015年10月15日
摘要: layout: posttitle: "反射──Mirror(swift 2.0)"category: Swift2.0date: 2015 10 15 12:45 注意:本人水平有限,如有错误,请说下哈 注意:advance的使用,在xcode 7beta版 跟 xcode 7.0.1 (7... 阅读全文
posted @ 2015-10-15 17:41 言十年 阅读(163) 评论(0) 推荐(0) 编辑
摘要: > 注意:本人水平有限,如有错误,请说下哈> >注意:advance的使用,在xcode 7beta版 跟 xcode 7.0.1 (7的正式版,我没用)是不一样的###前奏,在使用`Mirror`之前我们先建立一个对象,方便测试!创建Person.swift,文件内容如下:```import UI... 阅读全文
posted @ 2015-10-15 17:40 言十年 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 注意:本人水平有限,如有错误,请说下哈 注意:advance的使用,在xcode 7beta版 跟 xcode 7.0.1 (7的正式版,我没用)是不一样的 前奏,在使用 之前我们先建立一个对象,方便测试!创建Person.swift,文件内容如下: 其次,我们介绍下 任意 的`子结构 可选显... 阅读全文
posted @ 2015-10-15 17:35 言十年 阅读(1328) 评论(0) 推荐(0) 编辑
  2015年8月3日
摘要: 1 import UIKit 2 3 class ViewController: UIViewController { 4 5 @IBOutlet weak var dview: UIView! 6 var dynamicAnimator = UIDynamicAnimator... 阅读全文
posted @ 2015-08-03 22:18 言十年 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1 import Foundation 2 3 class Person : NSObject,NSCoding { 4 var name : String? 5 func encodeWithCoder(aCoder: NSCoder) { 6 aCoder.e... 阅读全文
posted @ 2015-08-03 21:23 言十年 阅读(455) 评论(0) 推荐(0) 编辑
  2015年1月12日
摘要: @font-face { font-family: "Wingdings"; }@font-face { font-family: "宋体"; }@font-face { font-family: "宋体"; }@font-face { font-family: "@宋体"; }@font-face... 阅读全文
posted @ 2015-01-12 03:10 言十年 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 沙盒介绍每个iOS应用都有自己的应用沙盒(应用沙盒就是应用的文件夹),与其他文件系统隔离。应用必须待在自己的沙盒里,其他应用不能访问该沙盒应用沙盒的文件系统目录:模拟器沙盒的根路径在:/Users/chenjiang/Library/Developer/CoreSimulator/Devices/E... 阅读全文
posted @ 2015-01-12 01:49 言十年 阅读(821) 评论(0) 推荐(0) 编辑
摘要: Debugger commands: apropos -- Find a list of debugger commands related to a particular word/subject. breakpoint -- A set of commands for operating on ... 阅读全文
posted @ 2015-01-12 01:30 言十年 阅读(350) 评论(0) 推荐(0) 编辑
  2014年12月20日
摘要: //// UIPickerView.h// UIKit//// Copyright (c) 2006-2014 Apple Inc. All rights reserved.//#import #import #import #import #import @protocol UIPickerVie... 阅读全文
posted @ 2014-12-20 22:13 言十年 阅读(248) 评论(0) 推荐(0) 编辑