摘要:        
- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. dispatch_queue_t queue = dispatch_get_global...    阅读全文
        
            posted @ 2014-06-11 16:00
菜鸟程序猿
阅读(404)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
NSDictionary *aDictionary = [[NSDictionary alloc]initWithObjectsAndKeys:@"tom",@"1",@"alex",@"2",@"josen",@"3", nil]; [aDictionary enumerateK...    阅读全文
        
            posted @ 2014-06-11 15:09
菜鸟程序猿
阅读(379)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ code to be executed after ...    阅读全文
        
            posted @ 2014-06-11 10:13
菜鸟程序猿
阅读(446)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
今天在Code4App上看了一个GCD倒计时的Demo,觉得不错代码贴出来备用-(void)startTime{ __block int timeout = 30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DI...    阅读全文
        
            posted @ 2014-06-11 09:17
菜鸟程序猿
阅读(380)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号