摘要: static Singleton *sharedSingleton = nil;+(Singleton *)sharedInstance{ if (sharedSingleton == nil) { sharedSingleton = [[super allocWithZone:NULL] init]; } return sharedSingleton;}+(id)allocWithZone:(NSZone *)zone{ return [[self sharedInstance] retain];}-(id)copyWithZone:(NSZone *)... 阅读全文
posted @ 2012-12-26 09:54 白条围巾 阅读(155) 评论(0) 推荐(0) 编辑