04 2016 档案

摘要:1 #import "ViewController.h" 2 //#import "AFNetworking/AFNetworking.h" 3 #import "AFNetworking.h" 4 5 @interface ViewController () { 6 //进度条 7 UIProgressView *_progressView; ... 阅读全文
posted @ 2016-04-26 18:32 甘林梦 阅读(1652) 评论(0) 推荐(0) 编辑
摘要:Xcode7.0以上版本必须操作:https http HTTP协议 1. HTTP协议 HyperText Transfer Protocol 超文本传输协议。设计HTTP的最初目的是为了提供一种发布和接收HTML页面的方法。 是一个客户端和服务端请求和应答的标准。客户端发送一个到服务器上指定端口 阅读全文
posted @ 2016-04-25 21:21 甘林梦 阅读(192) 评论(1) 推荐(0) 编辑
摘要:// 注意,在有导航栏的情况下,需要在viewDidLoad 中加上 self.automaticallyAdjustsScrollViewInsets = NO;不然会出现图片下移64的情况 ,scrollView.frame的高度要比图片的高度大64,不然,图片显示不全 源文件在这里:http: 阅读全文
posted @ 2016-04-22 20:17 甘林梦 阅读(428) 评论(0) 推荐(0) 编辑
摘要:源文件这里有http://pan.baidu.com/s/1pLlDm6f UITableView与UISearchController搜索及上拉加载,下拉刷新 阅读全文
posted @ 2016-04-20 07:54 甘林梦 阅读(534) 评论(0) 推荐(0) 编辑
摘要:UITableView相关知识点 阅读全文
posted @ 2016-04-19 08:04 甘林梦 阅读(163) 评论(0) 推荐(0) 编辑
摘要:1 //UIActivityIndicatorView //小菊花,加载 2 3 #import "ActivityIndicatorVC.h" 4 5 @interface ActivityIndicatorVC (){ 6 UIActivityIndicatorView *_activity ; 7 } 8 9 @end 10 11 @... 阅读全文
posted @ 2016-04-16 08:44 甘林梦 阅读(353) 评论(0) 推荐(0) 编辑
摘要:MyCustomTabBar.h文件 #import <UIKit/UIKit.h> @interface MyCustomTabBar : UITabBarController @end MyCustomTabBar.m文件 #import "MyCustomTabBar.h" #define k 阅读全文
posted @ 2016-04-15 20:31 甘林梦 阅读(296) 评论(0) 推荐(0) 编辑
摘要:UINavigationController为导航控制器,在iOS里经常用到。 1.UINavigationController的结构组成 UINavigationController有Navigation bar ,Navigation View ,Navigation toolbar等组成。 将 阅读全文
posted @ 2016-04-15 20:10 甘林梦 阅读(298) 评论(0) 推荐(0) 编辑
摘要:- (void)viewDidLoad { [super viewDidLoad]; scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 320, 460)]; scrollView.backgroundColor = 阅读全文
posted @ 2016-04-15 19:33 甘林梦 阅读(121) 评论(0) 推荐(0) 编辑
摘要:简单的秒表定时器 思路: 1.分别添加秒表中的上部分,样式如 00 :00 : 00 . 00,分别表示时,分,秒,毫秒一共用7个labe实现 2.设置按钮,分别是开始,停止,复位 3,通过字符串转换成数字,和数字转换成字符串来进行秒表的设计 停止 复位 源文件在这里,希望可以帮到你:http:// 阅读全文
posted @ 2016-04-10 20:08 甘林梦 阅读(725) 评论(0) 推荐(0) 编辑
摘要:UIView属性 1.alpha 设置视图的透明度.默认为1. // 完全透明 view.alpha = 0; // 不透明 view.alpha = 1; 2.clipsToBounds // 默认是NO,当设置为yes时,超出当前视图的尺寸的内容和子视图不会显示。 view.clipsToBou 阅读全文
posted @ 2016-04-09 08:27 甘林梦 阅读(114) 评论(0) 推荐(0) 编辑
摘要:键盘的出现于隐藏(解决键盘弹出时会覆盖文本框的问题,代码实现) #import "ViewController.h" #import "UIView+FrameExtension.h" // 可以自己写,以后用着方便 #define kDeviceHeight [UIScreen mainScree 阅读全文
posted @ 2016-04-08 08:10 甘林梦 阅读(558) 评论(1) 推荐(0) 编辑
摘要:以下是三个IOS开发中最常用的控件,作为IOS基础学习教程知识 ,初学者需要了解其基本定义和常用设置,以便在开发在熟练运用。 UIButton按钮 第一、UIButton的定义 UIButton *button=[[UIButton buttonWithType:(UIButtonType); 能够 阅读全文
posted @ 2016-04-07 08:34 甘林梦 阅读(1014) 评论(0) 推荐(0) 编辑
摘要:1. iOS学习路线: C语言:数据类型、流程控制、函数、指针、字符串、结构体、枚举、预处理; OC:面向对象、内存管理、分类、协议、Block、KVC/KVO、Foundation框架; iOS基础: UIKit框架:基础视图:UIButton,UILabel,UITextField,UIImag 阅读全文
posted @ 2016-04-06 08:16 甘林梦 阅读(408) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示