摘要:
// // ViewController.swift // Swift+Dictionary import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() 阅读全文
摘要:
// // ViewController.swift // Swift+Array import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self 阅读全文
摘要:
// // ViewController.swift // Swift+String import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //v 阅读全文
摘要:
1:ARC环境下,strong代替retain.weak代替assign,xcode 4.2(ios sdk4.3和以下版本)和之前的版本使用的是retain和assign,是不支持ARC的。xcode 4.3(ios5和以上版本)之后就有了ARC,并且开始使用 strong与weak 2:weak 阅读全文
摘要:
// // AppDelegate.m // UITabBarController+UINavigationController #import "AppDelegate.h" @interface AppDelegate () @end @implementation AppDelegate - 阅读全文
摘要:
// // ViewController.m // UIPickerViewAll #import "ViewController.h" @interface ViewController () @end @implementation ViewController /* UIPickView控件常 阅读全文
摘要:
//只是简单的使用,以后我会更新一个日常使用的一些demo // ViewController.m // UIDatePickerAll #import "ViewController.h" @interface ViewController () { UIDatePicker *myDatePic 阅读全文
摘要:
// // ViewController.m // UIToolbarAll #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad 阅读全文
摘要:
// // ViewController.m // UIPageControlAll #import "ViewController.h" @interface ViewController ()<UIScrollViewDelegate> { UIScrollView *helpScrView; 阅读全文
摘要:
// // ViewController.m // UISwtichAll #import "ViewController.h" @interface ViewController () { UILabel *valueLabel; UILabel *minLabel; UILabel *maxLa 阅读全文