<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
		<title>gdp's Comments</title>
		<language>en-us</language>
		<link>https://www.intensedebate.com/users/721946</link>
		<description>Comments by UncleArby</description>
<item>
<title>blog.mugunthkumar.com : iPhone Tutorial – In-App Purchases</title>
<link>http://blog.mugunthkumar.com/coding/iphone-tutorial-%e2%80%93-in-app-purchases/#IDComment47150183</link>
<description>Hi Mugunth Kumar, You have done a great job with this code. Way better than what Apple provides. Thanks for taking the time to do this service for all of us. You can be sure that it is appreciated.  I have it working fine in my application on a test basis. I have not approved the in-app for review yet because when I run the Apple Analyzer on the code, it flags a Potential memory leak.  Here is where the error is flagged:  + (MKStoreManager*)sharedManager { @synchronized(self) {         if (_sharedStoreManager == nil) {             [[self alloc] init];    //THIS ALLOC CAUSES THE POTENTIAL LEAK OF OBJECT MESSAGE IN THE ANALYZER [MKStoreManager loadPurchases]; _sharedStoreManager.storeObserver = [[MKStoreObserver alloc] init]; [[SKPaymentQueue defaultQueue] addTransactionObserver:_sharedStoreManager.storeObserver];         }     }     return _sharedStoreManager; }  I do not get a leak there running instruments. Is the analyzer just not understanding how the code works at that point?  Also, do you know if having that analyzer message will affect acceptance by Apple. This will be my first submission so I would like to have everything as ready as possible. As I mentioned, except for that message the code compiles and runs fine.      </description>
<pubDate>Mon, 14 Dec 2009 20:16:46 +0000</pubDate>
<guid>http://blog.mugunthkumar.com/coding/iphone-tutorial-%e2%80%93-in-app-purchases/#IDComment47150183</guid>
</item>	</channel>
</rss>