Solution static MyManager *sharedManager = nil; +(MyManager*) sharedManager {         if (sharedManager == nil)         {                 sharedManager = [[MyManager alloc] init];                 }         return sharedManager; }