摘要:
为什么要像下面那样设置全局变量,理由何在?#import"ServiceBase.h" NSString*ServerAddress=nil; NSString*UserName=nil; NSString*Password=nil; NSString*SessionID=nil; @implementationServiceBase @synthesizeconnection; @synthesizeresponceData; @synthesizedelegate;-(void)dealloc{ [responceDa... 阅读全文
摘要:
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 阅读全文
摘要:
1:UINavigationController: 1.1如果要让UInavigationController的工具条不显示,那么可以设置这个属性:setNavigationBarHidden:NO animated:NO. 阅读全文