码迷,mamicode.com
首页 >  
搜索关键字:self this    ( 14215个结果
ios UITableView 相关
tableView 实现的方法 无分组的cell #pragma mark - Table view data source - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return self.contacts.count; } - (UITable...
分类:移动开发   时间:2014-05-09 21:03:32    阅读次数:424
poj 1704
Georgia and BobTime Limit:1000MSMemory Limit:10000KTotal Submissions:7233Accepted:2173DescriptionGeorgia and Bob decide to play a self-invented game. ...
分类:其他好文   时间:2014-05-09 20:27:36    阅读次数:374
addTarget:self 的意思是说,这个方法在本类中
addTarget:self 的意思是说,这个方法在本类中也可以传入其他类的指针*/
分类:其他好文   时间:2014-05-09 19:55:49    阅读次数:236
HTML <a href >标签的target属性
规定在何处打开链接文档。_blank 在新窗口中打开被链接文档_parent 在父框架集中打开被链接文档_self 默认。在相同的框架中打开被链接文档_top 在整个窗口中打开被链接文档framename 在指定的框架中打开被链接文档。
分类:Web程序   时间:2014-05-09 13:27:51    阅读次数:367
IOS中定时器NSTimer的开启与关闭
调用一次计时器方法:myTimer = [NSTimer scheduledTimerWithTimeInterval:1.5 target:self selector:@selector(scrollTimer) userInfo:nil repeats:NO]; //不重复,只调用一次。tim....
分类:移动开发   时间:2014-05-09 08:50:29    阅读次数:473
python学习笔记-输入输出
格式化输出print(format(value,format_spec)),其中3为打印位数,2f为精度print(format(12.2356,‘3.2f‘)) print(format(0.23456,‘.1%‘)) D:\Python27\python.exeF:/Self-Study/python-study/input_output.py 12.24 23.5%
分类:编程语言   时间:2014-05-09 07:14:02    阅读次数:268
Edit Distance @Leetcode -- Python
http://oj.leetcode.com/problems/edit-distance/class Solution: # @return an integer def minDistance(self, word1, word2): len1 = len(word1)...
分类:编程语言   时间:2014-05-09 04:19:03    阅读次数:407
Python发一个GET请求
# -*- coding: utf-8 -*- try: import httplib2 except ImportError: print('错误:') print(' httplib2这个XML解析库没有找到,程序无法继续执行!') exit(255) def network_get_proc(self, use_cache = True): '''POST动作'...
分类:编程语言   时间:2014-05-09 01:39:09    阅读次数:337
iOS 获取图片某一点的颜色对象(UIColor*)。
- (UIColor *)colorAtPixel:(CGPoint)point {     // Cancel if point is outside image coordinates     if (!CGRectContainsPoint(CGRectMake(0.0f, 0.0f, self.size.width, self.size.height), point)) {...
分类:移动开发   时间:2014-05-09 01:04:12    阅读次数:503
取消记录tableView选中效果
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {      [self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:YES]; }...
分类:其他好文   时间:2014-05-08 17:23:54    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!