码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果)
boost操作xml 5分钟官方教程
Five Minute TutorialThis tutorial uses XML. Note that the library is not specifically bound to XML, and any other supported format (such as INI or JSO...
分类:其他好文   时间:2014-08-12 00:20:33    阅读次数:269
UICollectionView cellForItemAtIndexPath not called
UICollectionView cellForItemAtIndexPath not called解决办法: self.automaticallyAdjustsScrollViewInsets = NO;//解决cellForItemAtIndexPath not called问题我也不是很清楚原...
分类:其他好文   时间:2014-08-12 00:03:23    阅读次数:449
关于performSelector
偶尔机会接触到了它。由网上的知识总结了一个小代码。希望,对大家有用。- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title...
分类:其他好文   时间:2014-08-11 23:49:13    阅读次数:260
ios 指示器MBProgressHUD 的使用
// 显示指示器     MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:[[UIApplication sharedApplication].windows objectAtIndex:1] animated:YES];     [self.view.window addSubview:HUD];     HUD.labelT...
分类:移动开发   时间:2014-08-11 21:32:22    阅读次数:256
ios 独立创建一条线程,去做些事情
- (void)startLoop {         [NSThread detachNewThreadSelector:@selector(loopMethod) toTarget:self withObject:nil]; } - (void)loopMethod {     [NSTimer scheduledTimerWithTimeInterval:3.0f...
分类:移动开发   时间:2014-08-11 21:31:22    阅读次数:211
UIWebView控件
用处:实现一个web浏览器,加载静态html,动态url,调用js//加载动态urlself.webView = [[UIWebView alloc]initWithFrame:self.view.bounds];NSString *str = @"http://www.baidu.com";NSU...
分类:Web程序   时间:2014-08-11 17:16:32    阅读次数:237
#Leet Code# Permutation
描述:输出全排列代码: 1 class Solution: 2 # @param num, a list of integer 3 # @return a list of lists of integers 4 def doSth(self, num): 5 ...
分类:其他好文   时间:2014-08-11 17:10:32    阅读次数:205
python整合连续数字的练习,包含itertools\groupby用法
#汉字数字转阿拉伯数字 1 class ConvertNum: 2 def __init__(self,cnNum): 3 self.dict = {u'零':0,u'一':1,u'二':2,u'三':3,u'四':4,u'五':5,u'六':6,u'七':7,u'八':8,...
分类:编程语言   时间:2014-08-11 17:08:02    阅读次数:451
IOS-线程操作之NSThread/NSOperation
1. NSThread *thread=[[NSThread alloc] initWithTarget:self selector:@selector(saleTicketMethod:) object:@"线程--1"];...
分类:移动开发   时间:2014-08-11 15:03:12    阅读次数:243
Linux Ubuntu下Dropbox图标消失
Linux下的Dropbox是支持命令行模式的.,在terminal中输入dropbox后,如下提示:Dropbox command-line interfacecommands:Note: use dropbox help to view usage for a specific command....
分类:系统相关   时间:2014-08-11 11:28:22    阅读次数:290
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!