1.自定义UICollectionViewCell在myCollectionViewCell.h中声明两个属性//// myCollectionViewCell.h// UICollectionView//// Created by City--Online on 15/5/25.// Co...
分类:
其他好文 时间:
2015-05-25 16:27:51
阅读次数:
175
文章转载:http://blog.sina.com.cn/s/blog_7b9d64af0101b8nh.html在iOS中动画实现技术主要是:Core Animation。Core Animation负责所有的滚动、旋转、缩小和放大以及所有的iOS动画效果。其中UIKit类通常都有animated...
分类:
移动开发 时间:
2015-05-25 14:26:28
阅读次数:
201
又给自己挖了一个坑,我很喜欢动画不错,但是写出来又是另外一个问题了~~~这一篇我们来说说UIKit中的动画API,其中包括:UIView.UIView.animateWithDurationUIView.transitionWithViewUIView.animateKeyframesWithDur...
分类:
移动开发 时间:
2015-05-22 20:54:25
阅读次数:
155
//// ViewController.m// UItextView//// Created by City--Online on 15/5/22.// Copyright (c) 2015年 XQB. All rights reserved.//#import "ViewControlle...
分类:
其他好文 时间:
2015-05-22 18:50:36
阅读次数:
137
//// ViewController.m// UITableView//// Created by City--Online on 15/5/21.// Copyright (c) 2015年 XQB. All rights reserved.//#import "ViewControll...
分类:
其他好文 时间:
2015-05-22 16:34:27
阅读次数:
177
来看一个例子: #import <Foundation/Foundation.h> @interface MyTst : NSObject - (void) print; @end @implementation MyTst - (void) print { ? ? NSLog(@"xxxxxxxxxx"); } @end #import <UIKit/UIKit.h> #...
分类:
其他好文 时间:
2015-05-22 09:54:36
阅读次数:
117
又给自己挖了一个坑,我很喜欢动画不错,但是写出来又是另外一个问题了~~~
这一篇我们来说说UIKit中的动画API,其中包括:
UIView.UIView.animateWithDuration
UIView.transitionWithView
UIView.animateKeyframesWithDuration
UIView.addKey...
分类:
移动开发 时间:
2015-05-21 19:42:08
阅读次数:
143
又给自己挖了一个坑,我很喜欢动画不错,但是写出来又是另外一个问题了~~~这一篇我们来说说UIKit中的动画API,其中包括:UIView.UIView.animateWithDurationUIView.transitionWithViewUIView.animateKeyframesWithDur...
分类:
移动开发 时间:
2015-05-21 12:35:38
阅读次数:
191
//// ViewController.m// UITextField//// Created by City--Online on 15/5/20.// Copyright (c) 2015年 XQB. All rights reserved.//#import "ViewControll...
分类:
其他好文 时间:
2015-05-20 12:50:25
阅读次数:
107
Under that scenario, when the next time this view controller was appear again, the UIKit will be smart enough to restore the previous view state if it‘s not dealloced. http://stackoverflow.com/ques...
分类:
其他好文 时间:
2015-05-19 22:55:39
阅读次数:
231