Model cell#import
@interface ImageCell : UICollectionViewCell
@property (nonatomic, copy) NSString *image;
@end
#import "ImageCell.h"@interface ImageCell()
@property (weak, nonatomic) I...
分类:
移动开发 时间:
2015-08-30 10:00:18
阅读次数:
441
一、作业(练习)内容:1、总结本此课程中所涉及命令的使用方法及相关示例展示;chmod1.命令解释:改变文件权限语法结构:chmod[OPTION]...MODE[,MODE]...FILE...chmod[OPTION]...OCTAL-MODEFILE...chmod[OPTION]...--reference=RFILEFILE...命令选项:-R:对目前目录下的所有档..
分类:
其他好文 时间:
2015-08-30 01:16:20
阅读次数:
310
条款10: 令operator=返回一个reference to *this
Have assignment operators return a reference to *this
关于赋值,可以把它们写成连锁形式:
int x, y, z;
x = y = z = 15; // 赋值连锁形式 赋值采用右结合律,所以上述连锁赋值被解析为: ...
分类:
编程语言 时间:
2015-08-30 01:06:20
阅读次数:
186
#import "ViewController.h"
@interface ViewController ()
@property(nonatomic,weak)IBOutlet UIButton *button;
@property(nonatomic,weak)IBOutlet UIImageView *imageView;
@end
@implementation ViewCo...
分类:
其他好文 时间:
2015-08-30 01:01:23
阅读次数:
164
官网http://www.quartz-scheduler.net/相关的 Log 说明http://netcommon.sourceforge.net/docs/2.1.0/reference/html/index.html博客园友>> 懒惰的肥兔 (他写不少相关的文章,值得一读)http://w...
分类:
编程语言 时间:
2015-08-30 00:40:58
阅读次数:
156
在iOS开发的过程中,我们一般不用retain,和assign,而是用strong和weak,这时候,我们可以把strong理解为retain,而weak理解为assign,比较容易理解。
在ARC情况下:
Strong
和weak:
如果一个对象同时被两个指针所引用,例如:
Object *b1 = [[Object alloc]initAge:23];
O...
分类:
其他好文 时间:
2015-08-29 18:53:14
阅读次数:
278
1.参考资料
1.
http://developer.android.com/reference/android/os/AsyncTask.html
2.
http://blog.csdn.net/pi9nc/article/details/12622797
3. http://www.tuicool.com/articles/VnMf2i3
下面详细解析Asynctask的源码流...
分类:
其他好文 时间:
2015-08-29 15:32:44
阅读次数:
161
#import "ViewController.h"@interface ViewController ()@property(nonatomic,weak)IBOutlet UIButton *button;@property(nonatomic,weak)IBOutlet UIImageView...
分类:
其他好文 时间:
2015-08-29 15:16:04
阅读次数:
157
#import "ViewController.h"
@interface ViewController ()
@property(nonatomic,weak)IBOutlet UIButton *button;
@property(nonatomic,weak)IBOutlet UIImageView *imageView;
@end
@implementation ViewCo...
分类:
其他好文 时间:
2015-08-29 14:03:17
阅读次数:
121
一、字典转模型(plist文件)模型的封装方法:(放到代码仓库中)1.在.h文件中添加与plist文件key值对应的属性名Array --- > NSArray
Dictionary --- > NSDictionary
string ---> NSString
number ---> NSNumber注意:属性名和plist中key值一定要一致2..h文件文件中属性的strong weak cop...
分类:
移动开发 时间:
2015-08-29 06:21:31
阅读次数:
188