码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果
Leetcode:Subsets 子集生成
Subsets:Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set mus...
分类:其他好文   时间:2014-06-29 00:03:40    阅读次数:272
performSelector 与 self直接调用,
1,程序的健壮性2,编译时候校验执行时候校验respondsToSelector,判断某个类 是否实现了该方法- (IBAction)linkClickAction:(id)sender{ [NSObject cancelPreviousPerformRequestsWithTarget:send....
分类:其他好文   时间:2014-06-28 22:31:45    阅读次数:271
Leetcode: Single Number
Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexi...
分类:其他好文   时间:2014-06-20 23:34:47    阅读次数:308
3.4 框架制作导航
本节单词记忆:属性 1.target 2._blank 3._self 4._top 5._parent网页学习网提示:html语言非常简单,不需要逻辑理解,而绝大部分朋友觉得它难以掌握,90%的原因在于英语单词不过关,所以每节记忆几个单词是非常有必要的。在上节作业中,如果单击left窗口中的导航列...
分类:其他好文   时间:2014-06-20 18:28:29    阅读次数:251
监听网络
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[[UIWindow alloc] init...
分类:其他好文   时间:2014-06-20 18:23:14    阅读次数:160
设置UINavigationController标题的属性
设置UINavigationController标题的属性 self.title = @"产品详情"; [self.navigationController.navigationBar setTitleTextAttributes:\ [NSDictionary dictiona...
分类:其他好文   时间:2014-06-20 17:28:59    阅读次数:237
UIViewAdditions(一个很方便使用的工具类吧)
我们在工程中,或多或少的要修改控件的坐标-宽度-高度,于是,经常性的见到大家self.view.frame.origin.x,self.view.frame.size.width.........相当的麻烦,在这里向大家推荐一个比较好的工具类,是UIView的类目,它里面对于求坐标,求高度什么的做了封装,很方便大家调用.             @下载链接:点击这里             @...
分类:其他好文   时间:2014-06-18 07:25:34    阅读次数:213
ios7 UIBarButtonItem 默认蓝色
[self.navigationItem setLeftBarButtonItem:leftButton]; 这样设置在ios7上按钮默认是蓝色 解决方法: leftButton.tintColor = [UIColor whiteColor];...
分类:移动开发   时间:2014-06-18 07:07:37    阅读次数:888
python flask model 序列化
class DictSerializable(object):     def as_dict(self,*args):         result = OrderedDict()         keys=args or self.__mapper__.c.keys()         for key in keys:             if hasattr(self,key)...
分类:编程语言   时间:2014-06-18 06:25:55    阅读次数:596
LeetCode:Subsets
Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets. For example, ...
分类:其他好文   时间:2014-06-18 00:39:26    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!