2012年4月12日
摘要: 为什么要像下面那样设置全局变量,理由何在?#import"ServiceBase.h" NSString*ServerAddress=nil; NSString*UserName=nil; NSString*Password=nil; NSString*SessionID=nil; @implementationServiceBase @synthesizeconnection; @synthesizeresponceData; @synthesizedelegate;-(void)dealloc{ [responceDa... 阅读全文
posted @ 2012-04-12 15:45 wtq 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 1:我写如下代码:NSArray *key = [[[NSArray alloc] initWithObjects:(NSString *) kSecClass,kSecAttrAccount,kSecAttrServer,nil] autorelease]; NSLog(@"key is %@",key);但是运行时,提示如下错误 "_kSecClass", referenced from: _kSecClass$non_lazy_ptr in grammarViewController.o (maybe you meant: _kSecClass$n 阅读全文
posted @ 2012-04-12 10:51 wtq 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 1:UINavigationController: 1.1如果要让UInavigationController的工具条不显示,那么可以设置这个属性:setNavigationBarHidden:NO animated:NO. 阅读全文
posted @ 2012-04-12 10:26 wtq 阅读(167) 评论(0) 推荐(0) 编辑