一、效果二、实现- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self alertTest3];}/*** 文本对话框*/- (void)alertTest3{ //1.创建UIAlertController.....
分类:
其他好文 时间:
2015-11-18 10:34:58
阅读次数:
160
//1.进入第一 push- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ FirstViewController *firstVC = [[FirstViewController alloc] init]; [s.....
分类:
其他好文 时间:
2015-11-18 10:34:51
阅读次数:
111
一、效果二、实现- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self alertTest2];}/*** Destructive :“警示”样式*/- (void)alertTest2{ //1.创建UIA.....
分类:
其他好文 时间:
2015-11-18 10:25:53
阅读次数:
144
//1.手势,viewcontroller 进入下一页- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ MCJViewController *mcjVC = [[MCJViewController alloc] in....
分类:
其他好文 时间:
2015-11-18 10:25:32
阅读次数:
111
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ // 创建网络请求 NSURL *url = [NSURL URLWithString:@"http://localhost/resources/vedios.x...
分类:
其他好文 时间:
2015-11-05 15:15:43
阅读次数:
138
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.}-(void)touchesBegan:(NSSet *)tou.....
分类:
其他好文 时间:
2015-11-04 17:39:43
阅读次数:
240
现在项目中有一个需求:首先我从第二个需求开始解决:一、需求2解决方案:1.首先,我们了解到ViewOne是继承自UIView,超类是UIResponeder,所以就会有这些特性。根据其中touchesBegin方法:- (void)touchesBegan:(NSSet *)touches with...
分类:
其他好文 时间:
2015-11-04 12:52:31
阅读次数:
319
NSArray 有序的 自然顺序NSSet 无序的NSSet 中不能存储重复的数据,可以用它来去除重复的数据1.创建集合 1.1创建不可变集合 1 NSSet * set = [[NSSet alloc] initWithObjects:@"one",@"two",@"three",...
分类:
其他好文 时间:
2015-11-03 00:33:45
阅读次数:
156
GCD的基本使用:- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ // dispatch_sync : 同步,不具备开启线程的能力 // dispatch_async : 异步,具备开启线程的能力 ...
分类:
其他好文 时间:
2015-10-30 20:26:27
阅读次数:
171