摘要:        
NSMutableDictionary中只能放入对象,不能放入基本类型,这一点请参考java的Map系列。。。 然则NSInteger。。不是对象。。。。NSNumber才是,所以应该这样放的:NSInteger aInteger; NSMutableDictionary *dic=[[NSMutableDictionary alloc initWithCapacity:10]; [dic setObject:[NSNumber numberWithInteger:aInteger]forKey:@"TheKey"];    阅读全文
        
            posted @ 2012-08-04 11:44
志强思密达
阅读(102)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号