Archive for the ‘iPhone’ Category

CCPickerView

Tuesday, May 22nd, 2012
CCpickerView Screenshot

CCpickerView

I have had a few weeks of being able to work on my Math Explosion App, which is in serious need of an update. It was the first app that wrote way back in 2009 and has not been updated since then.  I always keep expecting it to break when Apple releases a new version of iOS.  I am doing more than an update, I am doing a complete rewrite. The original app was written using UIKit and Core Animation but I have felt for a very long time that the app needs to be more gamey to get the kids more interested in playing. As a result I am doing a complete rewrite using Cocos2d. I have dabbled with Cocos2d in the past but have never been able to spend much time using it until now. One of the first things I missed from UIKit was the UIPickerView. I also noticed quite a few other people out there also looking for a UIPickerView equivalent but with no success. In the end I wrote my own CCPickerView with the desire to make it as similar as UIPickerView, but for Cocos2d.  If you know how to use UIPickerView you will have no problem finding your way around setting up CCPickerView.

I want to mention some of the differences.  Firstly CCPickerView does not create a picker like UIPickerView. It simply creates the components, you have to supply your own “overlay”. I did this deliberately for two reasons. Firstly it was way simpler for me to code and secondly I figured everyone would want to have their own picker image that matched their app.  The CCPickerView can be as big or as small as you like, which is not true for UIPickerView unless you incorporate some tricks.

I also added some extras like continuous components.  With UIPickerView you add your rows, but if you want the last row to appear to be next to the first row as if the component has been rotated through 360 degrees you had to do the extra coding yourself.  I also needed the components to spin.  This was a bit tricky for me as I wanted something that was flexible as I could see many possible uses.  As a result you can configure settings like the speed of the spin, how many times the components spin and if the components ease in and out when starting and stopping.  You also get to control the stop row.  How else are you going to have a winner.

You can find the code on GitHub  https://github.com/fidgetware/CCPickerView

 

WordPress for the IPhone

Thursday, September 3rd, 2009

I saw that there was a wordpress iPhone app, so I had to download it and give it a whirl. It is of course much slower than if you have a full size keyboard. But is is nice if you are in a bind or don’t want to take laptop with you. So yes I am using the app now to write this blog.

Beta file is ready

Thursday, June 18th, 2009

The first beta release of Pill Puzzle is now available.  I hope you enjoy it.

The application file can be found here.

You need to download the provisioning file too, which is here.

Unzip both files and then drag and drop the contents onto iTunes.  You need to install both files into iTunes otherwise the app will not run.

You cannot send anyone else these links as it will not work for them.  I have to compile the application with your UDID.

Do your normal sync process and the application should appear on your iPhone.

Please email me if you have problems installing the application and of course I would love to hear back from you as to how the program was.

New Start!

Tuesday, June 16th, 2009

I am trying out WordPress now to have a reasonably easy system to update.  I find that if it is not easy I do not update it often.