摘要: //// activityViewController.m// toolbar//// Created by Apple on 16/1/7.// Copyright © 2016年 ShangYu. All rights reserved.//#import "activityViewContro... 阅读全文
posted @ 2016-01-07 17:44 zhen_zhen 阅读(123) 评论(0) 推荐(0) 编辑
摘要: //// GZToolbarViewController.m// toolbar//// Created by Apple on 16/1/7.// Copyright © 2016年 ShangYu. All rights reserved.//#import "GZToolbarViewCont... 阅读全文
posted @ 2016-01-07 17:43 zhen_zhen 阅读(116) 评论(0) 推荐(0) 编辑
摘要: #import "timerViewController.h"@interface timerViewController (){ NSTimer *timerTaks; int CountdownInt; UILabel *labCountdown;}@end@implementation ... 阅读全文
posted @ 2016-01-07 17:42 zhen_zhen 阅读(97) 评论(0) 推荐(0) 编辑
摘要: _window=[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; UIToolbarViewController *tool=[UIToolbarViewController new]; UINavigationCont... 阅读全文
posted @ 2016-01-07 14:25 zhen_zhen 阅读(109) 评论(0) 推荐(0) 编辑
摘要: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [super touchesBegan:touches withEvent:event]; [self.view endEditing:YES]; //隐藏键盘 ... 阅读全文
posted @ 2016-01-07 13:19 zhen_zhen 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 字母数字 限制字数 delegate//控制输入文字的长度和内容,可通调用以下代理方法实现- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString ... 阅读全文
posted @ 2016-01-07 13:18 zhen_zhen 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 字母数字 textfield、delegate- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;{ ... 阅读全文
posted @ 2016-01-07 13:15 zhen_zhen 阅读(168) 评论(0) 推荐(0) 编辑