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解决办法: self.automaticallyAdjustsScrollViewInsets = NO;//解决cellForItemAtIndexPath not called问题我也不是很清楚原...
分类:
其他好文 时间:
2014-08-12 00:03:23
阅读次数:
449
偶尔机会接触到了它。由网上的知识总结了一个小代码。希望,对大家有用。- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title...
分类:
其他好文 时间:
2014-08-11 23:49:13
阅读次数:
260
// 显示指示器
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
- (void)startLoop
{
[NSThread
detachNewThreadSelector:@selector(loopMethod)
toTarget:self
withObject:nil];
}
- (void)loopMethod
{
[NSTimer
scheduledTimerWithTimeInterval:3.0f...
分类:
移动开发 时间:
2014-08-11 21:31:22
阅读次数:
211
用处:实现一个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
描述:输出全排列代码: 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
#汉字数字转阿拉伯数字 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
1.
NSThread *thread=[[NSThread alloc] initWithTarget:self selector:@selector(saleTicketMethod:) object:@"线程--1"];...
分类:
移动开发 时间:
2014-08-11 15:03:12
阅读次数:
243
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