
The last few days I’ve been working on Version 2.0 of my Film Quiz App. The main features being Game Center integration, an iPad version and of course, more Questions.
I started first with Game Center which I thought was going to be the hardest to do. Liking a challenge I first found Apple’s documentation for a good read. I was shocked at how simple it was. It true Apple style they’ve really thought about it and created an easy to use API. Firstly you need to set up you Leaderboards/Achievements on the iTunesConnect web site. Each leader board has an ID associated with it. Using this ID you add a few lines of code to your project calling the leader board methods with the leader board ID and the score. That’s it. There’s also the bit of code to sign the user in too. Again, very simple.
I was confident making the App ‘universal’ to run on the iPad too. Using the MVC model, all I needed to do was create the new iPad views, and connecting each of the view elements to the outlets/actions in the controller.
It also occurred to me to check for memory leaks using the ‘Instruments’ app. After running a few tests I could see there were quite a few objects I had allocated but not deallocated and as a result memory was being leaked. With a few code changes I managed to tidy up my code.
All I have left to do is creating a load more questions. It’s funny because when I tell people I have an App on the App Store they ask was it hard to create and write all the code. My answer is always – it’s harder to come up with the questions and think of alternative answers. That’s what takes the most time.
With over 2000 downloads in a week, and iAds generating a bit of money for me I’ve decided to change the way the App pays for itself. I’m therefore going to create a full version with all the current features and the ones I’ve described above along with all the questions I’ve created. I’m also going to create a ‘Lite’ or free version, keep the iAds but only provide a limited number of questions. I’ve read how to create a full and lite version of your App in the same Project but have yet to try it out yet.
Meanwhile, if you have any suggestions for questions please let me know. Thank you to my brother Jonny for provide a few earlier today.