摘要:
//结论: //子类能继承父类中的所有方法 包括类别中的方法 阅读全文
posted @ 2016-07-26 16:58
代码始我快乐
阅读(413)
评论(0)
推荐(0)
摘要:
//创建计步器 -(void)createStepper { //<1>创建对象 UIStepper * stepper = [[UIStepper alloc]initWithFrame:CGRectMake(100, 100, 100, 30)]; //<2>为stepper添加背景颜色 //s 阅读全文
posted @ 2016-07-26 13:31
代码始我快乐
阅读(258)
评论(0)
推荐(0)
摘要:
#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor]; ... 阅读全文
posted @ 2016-07-23 12:04
代码始我快乐
阅读(129)
评论(0)
推荐(0)
摘要:
局部刷新//一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimatio 阅读全文
posted @ 2016-07-23 11:44
代码始我快乐
阅读(376)
评论(0)
推荐(0)
摘要:
for (UIViewController *controller in self.navigationController.viewControllers) { if ([controller isKindOfClass:[PlaceOrderVC class]]) { [self.navigat 阅读全文
posted @ 2016-07-23 11:43
代码始我快乐
阅读(133)
评论(0)
推荐(0)
摘要:
1、创建 @interface AppDelegate (){ CustomTabBarViewController *tabbar;} tabbar=[CustomTabBarViewController defaultsTabBar]; self.window.rootViewControlle 阅读全文
posted @ 2016-07-23 11:41
代码始我快乐
阅读(450)
评论(0)
推荐(0)
摘要:
支持MJRefresh刷新可在header里面添加 滚动视图 footer里面添加按钮 阅读全文
posted @ 2016-07-23 11:01
代码始我快乐
阅读(759)
评论(0)
推荐(0)
摘要:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { //1. 判断系统版本 if ([UIDevice currentDevice].systemVersion.floatValue >= 8.0) { //可以使用指纹识别 --> 5S 以后的机型 LAConte... 阅读全文
posted @ 2016-07-23 10:31
代码始我快乐
阅读(393)
评论(0)
推荐(0)
摘要:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; /... 阅读全文
posted @ 2016-07-23 10:13
代码始我快乐
阅读(1285)
评论(0)
推荐(0)
摘要:
NSString * deliverydate = dicUrl[@"deliverydate"]; NSString * arrivedate = dicUrl[@"arrivedate"]; if (![self compareDate:deliverydate withDate:arrived 阅读全文
posted @ 2016-07-22 10:08
代码始我快乐
阅读(1431)
评论(0)
推荐(0)
浙公网安备 33010602011771号