Fugenx Technologies Private Limited
Fugenx Technologies Private Limited
Fugenx Technologies Private Limited
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Singleton<br />
A basic implementation of the +sharedInstance method might be<br />
like this:<br />
+ (MYDataManager *)sharedInstance {<br />
static MYDataManager *myInstance = nil;<br />
if (!myInstance) {<br />
myInstance = [[[self class] alloc] init];<br />
}<br />
return myInstance;<br />
}<br />
© 2011, FuGenX <strong>Technologies</strong> Confidential<br />
35