该文被密码保护。 阅读全文
posted @ 2015-08-13 14:45 OIMMZC 阅读(43) 评论(0) 推荐(0) 编辑
摘要: iOS开发UI篇—UITabBarController简单介绍一、简单介绍UITabBarController和UINavigationController类似,UITabBarController也可以轻松地管理多个控制器,轻松完成控制器之间的切换,典型的例子就是QQ、微信等应⽤。二、UITabB... 阅读全文
posted @ 2015-08-12 09:23 OIMMZC 阅读(152) 评论(0) 推荐(0) 编辑
摘要: // ViewController.h// IOS310803//// Created by 张艳锋 on 15/8/3.// Copyright (c) 2015年 zyf. All rights reserved.//#import @interface ViewController : UIV... 阅读全文
posted @ 2015-08-07 12:59 OIMMZC 阅读(351) 评论(0) 推荐(0) 编辑
摘要: //非原创 看TableView的资料其实已经蛮久了,一直想写点儿东西,却总是因为各种原因拖延,今天晚上有时间静下心来记录一些最近学习的TableView的知识。下面进入正题,UITableView堪称UIKit里面最复杂的一个控件了,使... 阅读全文
posted @ 2015-08-07 12:45 OIMMZC 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 1、我们的app一般默认的名字是我们的工程名字,所以我们一般会更改一个更加友好的名字,更改的方法如下图:找到InfoPlist.strings文件,在里面添加语句CFBundleDisplayName="你的APP的名字";2、关于怎么设置图标选中你的工程的名字(图上1位置),然后向下拉,找到APP... 阅读全文
posted @ 2015-08-07 08:30 OIMMZC 阅读(880) 评论(1) 推荐(0) 编辑
摘要: #import @interface ViewController : UIViewController@end#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (voi... 阅读全文
posted @ 2015-08-04 11:29 OIMMZC 阅读(279) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import @interface ViewController : UIViewController{ UILabel *lable; NSArray *array;}@end@interface ViewController ()@end... 阅读全文
posted @ 2015-08-03 13:49 OIMMZC 阅读(158) 评论(0) 推荐(0) 编辑
摘要: #import @interface ViewController : UIViewController{ UILabel *lable;}@end#import "ViewController.h"@interface ViewController ()@end@implementation V... 阅读全文
posted @ 2015-08-03 13:44 OIMMZC 阅读(156) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad {UIButton *button1=[UIButton buttonWithTyp... 阅读全文
posted @ 2015-08-03 13:39 OIMMZC 阅读(116) 评论(0) 推荐(0) 编辑
摘要: [super viewDidLoad]; // 实例化UILabel并指定其边框 UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0.0, 80.0, 320.0, 300.0)]; // 设置label显示的文本 [lab... 阅读全文
posted @ 2015-08-03 08:17 OIMMZC 阅读(155) 评论(0) 推荐(0) 编辑