codenauts/HockeySDK-iOS — pull request #3 by niick (2011-12-19 04:54:15+00:00)
Title: CONNECT-130: use [JMC sharedInstance] now, instead of [JMC instance]. al...

Hi Thomas,

Due to the change from [JMC instance] to [JMC sharedInstance], I've reworked the CNSHockeyManager.m to handle both instance and sharedInstance.

Also, not sure if this conflicts with your thinking, I've removed the #JMC_ENABLED ifdefs.
Are these still needed now that all JMC code is accessed dynamically ?

Essentially, I've added a single new method called: jmcInstance which either returns a JMC sharedInstance if JMC is indeed available, or nil, if JMC is not available.

Let me know if you are happy with this and I will do a new build of the JMC+HA.zip. I've tested the above in a sample App, and it seemed to work fine.

Cheers,
Nick