- 博客(5)
- 资源 (1)
- 收藏
- 关注
转载 ios:从系统相册选取视频并获得视频的缩略图
在UIImagePickerControllerDelegate的函数- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info 中实现:- (void)imagePickerController:(UII
2015-11-17 15:35:40
720
原创 数据解析之---SAX
一.SAXSAX 解析: 是一种基于事件回调的解析机制(主要通过代理方法进行解析), 逐行解析, 逐行读取数据, 逐行写入内存, 适合大数据的解析, 效率比较低, 系统解析就是这种方式.在延展中定义属性@property (nonatomic, retain) NSMutableArray *dataSource; // 存储学生对象@property (nonatomic,
2015-11-17 13:08:34
311
原创 清空缓存
1.添加一个属性 @property (nonatomic, retain) UILabel *contentLabel;2.懒加载 - (UILabel *)contentLabel { if (!_contentLabel) { self.contentLabel = [[[UILabel alloc] initWithFrame:CGRectMake(0, 0,
2015-11-17 11:33:50
266
转载 图片旋转UIImageView+RotateImageView
@interface UIImageView (RotateImageView)- (void)rotateImageView;- (void)headPhotoAnimation;@end#define firstImage @"icon.png"#define secondImage @"icon.png"#i
2015-11-17 11:24:01
525
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人