主要就是这个页面,实现的主要功能有:1.点击上面的标题栏,下方的红色滚动条跟着到所点击的标题的下方;2中间的图片进行循环自动播放;3,点击下面的各项标签将所点击的标签添加到上面的标题栏,4当点击下面的标签在上面已经存在的时候将其从上面的标题栏移除
//viewDidLoad里面调用各种方法
- (void)viewDidLoad
{
// Do any additional se...
分类:
移动开发 时间:
2014-09-01 12:42:23
阅读次数:
180
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
self.view.backgroundColor = [UIColor whiteColor];
UIScrollView *scrollView = [[UIScrollVie...
分类:
其他好文 时间:
2014-08-31 09:18:51
阅读次数:
259
不同的实例点击效果不同:点击改变自身颜色,点击改变父视图颜色,点击修改视图位置.以上效果可由target - action设计模式实现.
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
self.view.backgrou...
分类:
其他好文 时间:
2014-08-27 11:05:57
阅读次数:
177
首先附上效果图吧,一个自定义的cell!第一步:创建表格- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view from its nib. sel...
分类:
移动开发 时间:
2014-08-25 11:24:44
阅读次数:
345
LeetCode: Copy List with Random PointerA linked list is given such that each node contains an additional random pointer which could point to any node ...
分类:
其他好文 时间:
2014-08-23 12:34:30
阅读次数:
193
Description
``Pinary" number is a positive number using only two digits ``0" and ``1" with usual rule that it must not begin with a 0, and the additional rule that two successive digits must not be...
分类:
其他好文 时间:
2014-08-22 21:16:19
阅读次数:
237
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements fro...
分类:
其他好文 时间:
2014-08-16 11:12:43
阅读次数:
317
题目:
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space to hold additional elements from B. The number of elements initia...
分类:
其他好文 时间:
2014-08-15 18:00:09
阅读次数:
194
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-08-12 16:49:54
阅读次数:
205
偶尔机会接触到了它。由网上的知识总结了一个小代码。希望,对大家有用。- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title...
分类:
其他好文 时间:
2014-08-11 23:49:13
阅读次数:
260