摘要:
//Creating a Singleton Instancestatic MyGizmoClass *sharedGizmoManager = nil; + (MyGizmoClass*)sharedManager{ if (sharedGizmoManager == nil) { sharedGizmoManager = [[super allocWithZone:NULL] init]; } return sharedGizmoManager;} + (id)allocWithZone:(NSZone *)zone{ return [[self sh... 阅读全文