代码改变世界

SWIFT Button的基本用法

2016-02-22 20:51 by 甘雨路, 964 阅读, 0 推荐, 收藏, 编辑
摘要:import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplicat 阅读全文

iOS UITableView点击按钮滚到顶部

2016-02-21 23:00 by 甘雨路, 3067 阅读, 0 推荐, 收藏, 编辑
摘要:#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end #import "App 阅读全文

iOS NSUserDefaults的基本使用

2016-02-21 21:25 by 甘雨路, 226 阅读, 0 推荐, 收藏, 编辑
摘要:/** * NSUserDefaults可以进行轻量级的数据存储 * NSUserDefaults支持的数据类型: NSString, NSNumber, NSDate, NSArray, * NSDictionary */ //初始化NSUserDefaults NSUserDefaults *d 阅读全文

SWIFT 懒加载

2016-02-21 19:58 by 甘雨路, 274 阅读, 0 推荐, 收藏, 编辑
摘要:import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplicat 阅读全文

SWIFT 闭包的简单使用二

2016-02-21 19:18 by 甘雨路, 223 阅读, 0 推荐, 收藏, 编辑
摘要:import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplicat 阅读全文

SWIFT 闭包的简单使用

2016-02-21 18:57 by 甘雨路, 215 阅读, 0 推荐, 收藏, 编辑
摘要:import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplicat 阅读全文

iOS tableViewCell侧滑改变收藏状态

2016-02-18 15:30 by 甘雨路, 548 阅读, 0 推荐, 收藏, 编辑
摘要:/** * 图片素材 链接: http://pan.baidu.com/s/1mhi1sfQ 密码: w2wq */ #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @prope 阅读全文

iOS Reachability的基本用法

2016-01-27 17:41 by 甘雨路, 383 阅读, 0 推荐, 收藏, 编辑
摘要:#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end #import "App 阅读全文

swift NSUserDefaults的基本使用

2016-01-26 16:07 by 甘雨路, 909 阅读, 0 推荐, 收藏, 编辑
摘要:import UIKit@UIApplicationMainclass AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIAppl... 阅读全文

swift 异步加载图片(第三方框架ImageLoader)

2016-01-26 14:33 by 甘雨路, 1105 阅读, 0 推荐, 收藏, 编辑
摘要:import UIKit@UIApplicationMainclass AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIAppl... 阅读全文
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页