@synthesize关键字: 根据@property设置,自动生成成员变量相应的存取方法,从而可以使用点操作符来方便的存取该成员变量 。@implementation 关键字,表明类的实现 @end 结束self 关键字 :类似于java中的this,是隐藏参数,指向当前调用方法的类。super ...
分类:
移动开发 时间:
2014-09-03 12:33:06
阅读次数:
302
36个扁平化设计的iphone和ipad应用界面设计案例http://designwoop.com/2014/04/36-examples-of-flat-iphone-and-ipad-application-ui-designs/32个动画效果很赞的移动APP设计http://designwoo...
分类:
Web程序 时间:
2014-09-03 09:38:46
阅读次数:
259
Android RecyclerView: Super Fast ListView === 原文来自我的微信公众号: longkai_1991 先上图,看效果:  前几天刚relea...
分类:
移动开发 时间:
2014-09-02 00:28:08
阅读次数:
278
// on "init" you need to initialize your instancebool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !CCLayer...
分类:
其他好文 时间:
2014-09-02 00:05:53
阅读次数:
304
一、为何需要调用“super viewDidLoad”
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
}
- (void)viewDidLoad
{
[super viewDidLoad];
}
...
分类:
其他好文 时间:
2014-09-01 17:47:23
阅读次数:
161
Description
Shuffling the pixels in a bitmap image sometimes yields random looking images. However, by repeating the shuffling enough times, one finally recovers the original images. This should ...
分类:
其他好文 时间:
2014-09-01 15:39:53
阅读次数:
230
题目:UVA10624 - Super Number(dfs)
题目大意:给你n和m要求找出这样的m位数,从第n位到第m位都满足前i位是可以被i整除,如果没有这样的数,输出-1.有多个就输出字典序最小的那个。
解题思路:将每个位置都用0..9枚举一下,注意第一个字符不能是0,然后dfs判断每个位置是否都满足要求。注意这里是会爆long long的,所以要取模一下。本来以为这样的...
分类:
其他好文 时间:
2014-09-01 10:47:33
阅读次数:
243
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
self.view.backgroundColor = [UIColor whiteColor];
UIScrollView *scrollView = [[UIScrollVie...
分类:
其他好文 时间:
2014-08-31 09:18:51
阅读次数:
259
//释放暂时不使用的内存,共当前程序使用.
- (void)didReceiveMemoryWarning
{
[super
didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
//当收到内存警告时,移除当前没有在屏幕上显示的视图.
...
分类:
移动开发 时间:
2014-08-31 09:18:21
阅读次数:
296
1.继承:编写父类(基类/超类),含有公共的属性和方法;编写子类(衍生类/派生类),能够继承父类的属性(extends),并含有自己特有的属性。2.子类只能继承一个父类,不能同时继承两个父类(单根性)。子类可以继承父类的,还可以继承父类的父类的属性和方法(传递性)。3.super关键字:代表父类对象...
分类:
其他好文 时间:
2014-08-31 00:23:00
阅读次数:
357