摘要: //// 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 阅读(96) 评论(0) 推荐(0) 编辑
摘要: _window=[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; UIToolbarViewController *tool=[UIToolbarViewController new]; UINavigationCont... 阅读全文
posted @ 2016-01-07 14:25 zhen_zhen 阅读(108) 评论(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 阅读(128) 评论(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 阅读(165) 评论(0) 推荐(0) 编辑
摘要: pod search MJRefreshcd 文件夹touch Podfilevim Podfile{platform :ios, '9.1'pod "AFNetworking", "3.0.2" }键盘输入 i,进入编辑模式,输入platform :ios, '7.0'pod 'MBProgres... 阅读全文
posted @ 2016-01-06 18:19 zhen_zhen 阅读(128) 评论(0) 推荐(0) 编辑
摘要: http://www.07net01.com/2015/09/933234.html ruby 升级 http://zhidao.baidu.com/link?url=g1mqXjQ9xrBxY9guFAgm4uCl_vKvKAFQxTTuSmJOv0LhBQWxfLKzAChcypFOwwQKYC 阅读全文
posted @ 2016-01-06 17:34 zhen_zhen 阅读(124) 评论(0) 推荐(0) 编辑
摘要: IOS CocoaPods的安装与使用教程时间2015-12-16 19:23:00博客园精华区原文http://www.cnblogs.com/dandanlovehamhamzo/p/5052105.html主题CocoaPodsiOSRubyCocoaPods的安装步骤:1.先配置Ruby环境... 阅读全文
posted @ 2016-01-06 16:30 zhen_zhen 阅读(124) 评论(0) 推荐(0) 编辑
摘要: UIWebView的常规使用方法://加载网页或者本地文件- (void)loadRequest:(NSURLRequest *)request;//直接加载html内容,如果html中的图片等资源在本地目录,注意将baseURL指向该目录- (void)loadHTMLString:(NSStri... 阅读全文
posted @ 2016-01-06 15:55 zhen_zhen 阅读(183) 评论(0) 推荐(0) 编辑