摘要: // // ViewController.swift // Swift+Dictionary import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() 阅读全文
posted @ 2017-09-01 10:27 屋巢 阅读(160) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.swift // Swift+Array import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self 阅读全文
posted @ 2017-08-30 14:09 屋巢 阅读(214) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.swift // Swift+String import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //v 阅读全文
posted @ 2017-08-29 17:32 屋巢 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 1:ARC环境下,strong代替retain.weak代替assign,xcode 4.2(ios sdk4.3和以下版本)和之前的版本使用的是retain和assign,是不支持ARC的。xcode 4.3(ios5和以上版本)之后就有了ARC,并且开始使用 strong与weak 2:weak 阅读全文
posted @ 2017-08-29 10:28 屋巢 阅读(320) 评论(0) 推荐(0) 编辑
摘要: // // AppDelegate.m // UITabBarController+UINavigationController #import "AppDelegate.h" @interface AppDelegate () @end @implementation AppDelegate - 阅读全文
posted @ 2017-08-28 14:08 屋巢 阅读(1330) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // UIPickerViewAll #import "ViewController.h" @interface ViewController () @end @implementation ViewController /* UIPickView控件常 阅读全文
posted @ 2017-08-25 11:04 屋巢 阅读(701) 评论(0) 推荐(0) 编辑
摘要: //只是简单的使用,以后我会更新一个日常使用的一些demo // ViewController.m // UIDatePickerAll #import "ViewController.h" @interface ViewController () { UIDatePicker *myDatePic 阅读全文
posted @ 2017-08-24 15:00 屋巢 阅读(12491) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // UIToolbarAll #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad 阅读全文
posted @ 2017-08-24 10:46 屋巢 阅读(488) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // UIPageControlAll #import "ViewController.h" @interface ViewController ()<UIScrollViewDelegate> { UIScrollView *helpScrView; 阅读全文
posted @ 2017-08-23 15:10 屋巢 阅读(571) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // UISwtichAll #import "ViewController.h" @interface ViewController () { UILabel *valueLabel; UILabel *minLabel; UILabel *maxLa 阅读全文
posted @ 2017-08-23 14:33 屋巢 阅读(256) 评论(0) 推荐(0) 编辑