码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果
刷新TabelView的方法
关于刷新TabelView的方法1、尽量不要用[self.tableView reloadData];因为这个会全部刷新,会很费资源,只需要刷新需要刷新的某行或者多行就行了代码: // 刷新指定行 NSIndexPath *path = [NSIndexPath indexPathForRow...
分类:其他好文   时间:2014-06-07 03:42:59    阅读次数:199
Minimum Path Sum
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:其他好文   时间:2014-06-04 20:57:08    阅读次数:360
timer 在滚动的时候停止了的解决办法
方法一:-(void) viewDidLoad{[self performSelectorInBackground:@selector(call1) withObject:nil];}-(void) call1{timer1 = [NSTimer scheduledTimerWithTimeInte...
分类:其他好文   时间:2014-06-04 20:23:05    阅读次数:228
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他好文   时间:2014-06-04 20:19:04    阅读次数:313
Linux filesystem structures.
1. / – RootEvery single file and directory starts from the root directory.Only root user has write privilege under this directory.Please note that /ro...
分类:系统相关   时间:2014-06-04 20:04:22    阅读次数:416
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 m...
分类:其他好文   时间:2014-06-04 20:01:32    阅读次数:340
Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.classSolution{public:vectoranagrams(v...
分类:其他好文   时间:2014-06-04 19:29:39    阅读次数:247
ios中注意项
1.当导入第三方库出现不支持ARC模式,可以在项目-》Build Phases中对第三方类文件添加Compiler Flags(-fno-objc-arc)2.获取UITableViewCell中所有子控件// 获取当前tableView中的所有cellNSArray *array = [self....
分类:移动开发   时间:2014-06-04 19:04:15    阅读次数:239
[leetcode]Subsets II @ Python
原题地址:https://oj.leetcode.com/problems/subsets-ii/题意:Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:E...
分类:编程语言   时间:2014-05-29 19:10:53    阅读次数:278
Summary of HashMap in Java
The tricky thing is how to decide the key for a hashmap. Especially when you intend to use self-defined objects as key.The simple rule is you have to ...
分类:编程语言   时间:2014-05-29 09:08:40    阅读次数:362
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!