AFNetworking 2.0 当Deployment Target
低于6.0时,AFURLConnectionOperation.h,AFURLSessionManager.h
@property(nonatomic, strong) dispatch_queue_t completionQueue;
由于sdk低于6.0时,dispatch_queue_t ARC没有托...
分类:
Web程序 时间:
2014-06-05 11:41:18
阅读次数:
286
很多应用在修改密码或者是更改个人信息时,需要用户输入手机验证码,其间有个等待过程,一般为60秒,等待结束后可以重新点击按钮获取新的验证码,在页面来回跳转之后又可以重新计时,简要做以下整理:
在.h文件中声明计时器
@interface LinViewController : UIViewController
@property (strong, nonatomic) UIButton * b...
分类:
其他好文 时间:
2014-06-05 04:41:37
阅读次数:
275
Objective-C中的属性(property)它组合了新的预编译指令和新的属性访问的语法,新的属性功能显著减少了必须编写的冗长代码的数量。下面我们来比较下面的代码//第一种声明方法-(void)setRainHandling:(float)
rainHanding;-(float) rainHa...
分类:
其他好文 时间:
2014-06-04 20:00:10
阅读次数:
255
head
代码。。Java代码#import@interfaceViewController:UIViewController{UIProgressView*progressview;UIProgressView*progressviewbar;NSTimer*timer;}@property(re...
分类:
移动开发 时间:
2014-06-04 19:55:32
阅读次数:
359
在Qt/Qt Quick宏浅议一文中,我们将介绍Qt中经常使用的几个宏: Q_OBJECT,
SIGNAL与SLOT, Q_SIGNALS 与 Q_SLOTS, Q_EMIT ,Q_INVOKABLE,
Q_PROPERTY。相比其他宏,Q_INVOKABLE 显得更加神秘,但Q_INVOKABLE...
分类:
其他好文 时间:
2014-06-03 09:52:29
阅读次数:
403
当你定义了一系列的变量时,需要写很多的getter和setter方法,而且它们的形式都是差不多的,,所以Xcode提供了@property
和@synthesize属性,@property用在 .h 头文件中用作声明,@synthesize用在.m
文件中用于实现。如下,新建一个基于“Command...
分类:
移动开发 时间:
2014-05-31 20:58:20
阅读次数:
487
这几天都有一些任务要跟, 把ios的学习拉后, 看看要抓紧咯,
看看轮到的学习的是UITableView。BIDViewController.h#import @interface BIDViewController :
UIViewController@property (copy, nonato...
分类:
移动开发 时间:
2014-05-31 11:27:25
阅读次数:
386
按照文件扩展名排列的 Mime
类型列表扩展名类型/子类型application/octet-stream323text/h323acxapplication/internet-property-streamaiapplication/postscriptaifaudio/x-aiffaifcaud...
分类:
其他好文 时间:
2014-05-31 03:22:25
阅读次数:
342
#import
"LoadInternetImageViewController.h"@interface LoadInternetImageViewController
()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@e...
分类:
其他好文 时间:
2014-05-30 20:28:32
阅读次数:
347
SB里只需要两个控件:UIScrollViewUIPageControl@interface
LYViewController () /** scrollView */@property (weak, nonatomic) IBOutlet
UIScrollView *scrollVIew;/** ...
分类:
其他好文 时间:
2014-05-30 17:54:23
阅读次数:
229