代码改变世界

iOS 上拉刷新和下拉加在更多(第三方框架EGOTableViewPullRefresh)

2015-12-31 00:04 by 甘雨路, 302 阅读, 0 推荐, 收藏, 编辑
摘要:#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewController.h"@... 阅读全文

iOS 导航控制器返回栈中的某一控制器

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

iOS 自定义UITabBarController的tabBar

2015-12-25 21:32 by 甘雨路, 663 阅读, 0 推荐, 收藏, 编辑
摘要:#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end/** * 素材图片的链接: http://pan.baidu.com/s/1geahYRT 密码... 阅读全文

iOS 设置导航栏之二(设置导航栏的颜色、文字的颜色、左边按钮的文字及颜色)

2015-12-25 15:14 by 甘雨路, 736 阅读, 0 推荐, 收藏, 编辑
摘要:#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end #import "App 阅读全文

iOS 设置导航栏的颜色和导航栏上文字的颜色

2015-12-25 14:33 by 甘雨路, 890 阅读, 0 推荐, 收藏, 编辑
摘要:#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end #import "App 阅读全文

iOS 修改UITextField的placeholder属性的字体颜色(修改UITextField占位符字体的颜色)

2015-12-24 17:42 by 甘雨路, 286 阅读, 0 推荐, 收藏, 编辑
摘要:只要把原来的placeholder属性改为attributedPlaceholder属性即可具体代码如下图: 阅读全文

iOS TPKeyboardAvoiding自动识别键盘的高度

2015-12-18 10:16 by 甘雨路, 2407 阅读, 0 推荐, 收藏, 编辑
摘要:#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewControl... 阅读全文

iOS 获取快递物流信息(GCD异步加载)

2015-12-14 14:07 by 甘雨路, 778 阅读, 0 推荐, 收藏, 编辑
摘要:#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewController.h"@... 阅读全文

iOS 图片循环滚动(切片效果)

2015-12-09 17:27 by 甘雨路, 608 阅读, 0 推荐, 收藏, 编辑
摘要:#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "Root... 阅读全文

iOS block在两个页面间的简单传值

2015-12-01 14:49 by 甘雨路, 190 阅读, 0 推荐, 收藏, 编辑
摘要:#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; @end #import "AppDelegate.h" #import "RootViewController.h" @interface AppDelegate () @end @impl... 阅读全文