UI
文章平均质量分 81
dfxr东方旭日
守着最初的心,努力奔跑!
展开
-
iOS激情详解之SQL增删改查
// SQliteManager.h// MySQlite// Created by WDX on 15/9/16.// Copyright (c) 2015年 WDongXu. All rights reserved.//#import #import #import "Student.h"@interface SQliteManager原创 2015-09-16 18:38:31 · 611 阅读 · 0 评论 -
ios激情详解之动画缩放
#import "RootViewController.h"@interface RootViewController ()@property (nonatomic, retain)UIImageView *imageView;// 保存改变之前的位置,为了变换之后返回去@property (nonatomic ,assign)CGPoint center;// 保存初始化的frame原创 2015-09-23 20:47:43 · 548 阅读 · 0 评论 -
ios激情详解之动画3D旋转晃动
//// Created by WDX on 15/9/23.// Copyright (c) 2015年 WDongXu. All rights reserved.//#import "RootViewController.h"@interface RootViewController ()@property (nonatomic, retain)UIView *myView;原创 2015-09-23 22:30:50 · 1971 阅读 · 0 评论 -
ios激情详解之动画页面翻转
//// Created by WDX on 15/9/23.// Copyright (c) 2015年 WDongXu. All rights reserved.//#import "RootViewController.h"#import "SecondViewController.h"#import "ThirdViewController.h"@interface R原创 2015-09-23 21:19:40 · 441 阅读 · 0 评论 -
ios激情详解之动画旋转
#import "RootViewController.h"@interface RootViewController ()@property (nonatomic, retain)UIImageView *imageView;@property (nonatomic, assign) BOOL isRuning;@end@implementation RootViewContro原创 2015-09-23 20:18:55 · 347 阅读 · 0 评论 -
ios激情详解之GCD
@interface ViewController () { int _totalCount; // 火车票总票数 int _surplusCount; // 剩余票数 NSLock *_lock; // 互斥锁 } @end [objc] view plaincopy转载 2015-09-22 19:28:53 · 294 阅读 · 0 评论 -
ios激情详解之线程运用
#import "RootViewController.h"@interface RootViewController ()@property (nonatomic, retain)UIImageView *imageView;@end@implementation RootViewController- (void)viewDidLoad { [super viewDi原创 2015-09-22 23:24:23 · 268 阅读 · 0 评论 -
iOS激情详解之集合视图
// RootViewController.m// UICollectionView#import "RootViewController.h"@interface RootViewController ()// 3,UICollectionViewDelegateFlowLayout 点进去发现该类遵守了UICollectionViewDelegate// 实际上UIColl原创 2015-09-21 22:36:01 · 623 阅读 · 0 评论 -
iOS激情详解之文件夹创建,移动,复制,删除以及归档和反归档
主要代码精髓:#import "RootViewController.h"#import “DXModel.h"#define kDocumentPath [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject]#define kCachesPath [N原创 2015-09-18 22:50:07 · 3823 阅读 · 1 评论 -
iOS激情详解之URL同步,异步连接
//// GetViewController.m// NSURLRequest//// Created by WDX on 15/9/11.// Copyright (c) 2015年 WDongXu. All rights reserved.//#import "GetViewController.h"@interface GetViewController () /原创 2015-09-17 13:19:12 · 614 阅读 · 0 评论 -
iOS激情详解之json解析
声明老师的一些属性#import @interface TeacherModel : NSObject@property (nonatomic, retain)NSString *name;@property (nonatomic, retain)NSString *sex;@property (nonatomic, retain)NSString *number;@property原创 2015-09-17 22:22:34 · 342 阅读 · 0 评论 -
iOS激情详解之异步请求图片加载
//// RootViewController.m// ImageDownLoader-01//// Created by WDX on 15/9/14.// Copyright (c) 2015年 WDongXu. All rights reserved.#import "RootViewController.h"// 加载图片// 一,获取照片#define k原创 2015-09-17 22:40:48 · 419 阅读 · 0 评论 -
ios激情详解之通知
首先页面布局:#import "RootViewController.h"#import "FourViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; [原创 2015-09-24 16:22:46 · 413 阅读 · 0 评论