上一页 1 2 3 4 5 6 ··· 10 下一页
  2015年11月21日
摘要: http://nshipster.cn/reactivecocoa/RAC 具有函数式编程和响应式编程的特性。它主要吸取了 .Net 的 Reactive Extensions 的设计和实现。一些学习资源博客 & 教程http://spin.atomicobject.com/2014/02/03/o... 阅读全文
posted @ 2015-11-21 17:22 sharkHZ 阅读(268) 评论(0) 推荐(0)
摘要: #pragma mark - 私有方法#pragma mark 邮箱验证- (BOOL)isValidateEmail:(NSString *)email{ NSString *emailRegex = @"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,... 阅读全文
posted @ 2015-11-21 17:18 sharkHZ 阅读(242) 评论(0) 推荐(0)
摘要: ~~~~~~~~~~~~~~~~~~~~~~背景~~~~~~~~~~~~~~~~~~~~~~// 作为一名 ‘iOS开发工程师’,你应该学会熟练的使用XCode进行代码编写,所以建议大家去使用快捷键进行开发,因为:// 1. 可以让我们显得更加的专业,逼格更高// 2. 提高我们的开发效率,节省开发... 阅读全文
posted @ 2015-11-21 17:18 sharkHZ 阅读(260) 评论(0) 推荐(0)
摘要: 效果图:#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil... 阅读全文
posted @ 2015-11-21 17:17 sharkHZ 阅读(143) 评论(0) 推荐(0)
摘要: 1.nil >Defines the id of a null instance. 定义一个实例为空, 指向oc中对象的空指针. >示例代码: NSString *someString = nil; NSURL *someURL = nil; id someObject = n... 阅读全文
posted @ 2015-11-21 17:17 sharkHZ 阅读(145) 评论(0) 推荐(0)
摘要: 谓词self.searchBar = [[UISearchBar alloc]initWithFrame:CGRectMake(0, 100, CGRectGetWidth(self.frame), 40)]; [self addSubview:_searchBar]; // 占位符 [self.s... 阅读全文
posted @ 2015-11-21 17:16 sharkHZ 阅读(159) 评论(0) 推荐(0)
摘要: // UIPageControl的常用方法UIPageControl *onePageControl = [[UIPageControl alloc] init];onePageControl.frame = CGRectMake(10, 100, 300, 30); // 设置位置onePageC... 阅读全文
posted @ 2015-11-21 17:15 sharkHZ 阅读(182) 评论(0) 推荐(0)
摘要: 1.效果2.代码 阅读全文
posted @ 2015-11-21 17:15 sharkHZ 阅读(158) 评论(0) 推荐(0)
摘要: // UIStepper的常用方法UIStepper *oneStepper = [[UIStepper alloc] init];oneStepper.frame = CGRectMake(20, 20, 20, 20);oneStepper.backgroundColor = [UIColor ... 阅读全文
posted @ 2015-11-21 17:14 sharkHZ 阅读(245) 评论(0) 推荐(0)
摘要: // UIActivityIndicatorView的常用方法 活动指示器,就是旋转进度轮UIActivityIndicatorView *oneIndicatorView = [[UIActivityIndicatorView alloc] init];oneIndicatorView.activ... 阅读全文
posted @ 2015-11-21 17:13 sharkHZ 阅读(187) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 10 下一页