码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果
WinRAR的自解压模式 - imsoft.cnblogs
一个 SFX (SelF-eXtracting)自解压文件是压缩文件的一种,它结合了可执行文件模块,一种用以运行从压缩文件解压文件的模块。这样的压缩文件不需要外部程序来解压自解压文件的内容,它自己便可以运行该项操作。然而 WinRAR 仍然可将自解压文件当成是任何其它的压缩文件处理。所以如果你不愿意...
分类:Windows程序   时间:2014-05-23 09:07:12    阅读次数:578
LeetCode: Valid Sudoku [035]
【题目】 Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. A partially filled sudoku which is valid. Note: A valid Sudoku board (par...
分类:其他好文   时间:2014-05-22 09:58:54    阅读次数:234
UIActionSheet添加多个otherButtonTitles
关于UIActionSheet,我们经常用到的就是 UIActionSheet *actionSheet = [[UIActionSheet alloc]initWithTitle:@"请选择" delegate:self cancelButtonTitle:@"取消"destructiveButtonTitle:@"确定" otherButtonTitles:@"1",@"2",@...
分类:其他好文   时间:2014-05-22 09:51:25    阅读次数:385
self和下划线的用法
在最新的xcode中,已经不需要我们自己去写 set,get 方法,在我们使用@property声明属性时,系统已经自动帮我们生成set,get方法。同时我们发现在我们访问我们声明的变量时,会有self. 和 以"_"开头的访问方式,那么这两种方式到底有什么样的区别呢?我们来一起看一下:...
分类:其他好文   时间:2014-05-22 05:56:08    阅读次数:190
【Python】类和对象、继承、使用文件、存储、异常、标准库(不懂)
当你调用这个对象的方法MyObject.method(arg1, arg2)的时候,这会由Python自动转为MyClass.method(MyObject, arg1, arg2)——这就是self的原理了。2.__init____init__ 方法名别写错了!__init__ 用来定义变量的se...
分类:编程语言   时间:2014-05-22 03:12:56    阅读次数:266
ios 获取当前view的controller
//获取view的controller- (UIViewController *)viewController { for (UIView* next = [self superview]; next; next = next.superview) { UIResponder *nextRe...
分类:移动开发   时间:2014-05-21 23:38:35    阅读次数:1000
【LeetCode】Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-05-21 19:11:16    阅读次数:266
Python 类中的 self?
什么是 self ? 它是类实例自身的引用。其他语言通常使用一个名为 this 的标识符 --《Python核心编程》如何定义类: class ClassName(base_class[es]): (1) "optional documentation s...
分类:编程语言   时间:2014-05-21 18:50:01    阅读次数:304
Leetcode:Reverse Linked List II 单链表区间范围内逆置
Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note: Given m, n satisfy the fol...
分类:其他好文   时间:2014-05-21 07:18:02    阅读次数:301
LeetCode:Single Number II
题目:     Given an array of integers, every element appears three times except for one. Find that single one.     Note:     Your algorithm should have a linear runtime complexity. Could you implem...
分类:其他好文   时间:2014-05-20 16:22:52    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!