Posted by Terry on Jan 4, 2010 in
General,
Web Development,
iPhone
Well I’m glad to say my iPhone app is finally moving in the right direction, I’m finding stackoverflow to be a goldmine of pointers and code snippets and well explained! Also during my rummaging I discovered that WordPress actually make their iPhone app source code available for you to download and play with, I think this is very helpful for newbies that are interested in finding how everyone else programs a full app (one accepted and shipping on the store!).
Keychains, this seems to be the way to go on the iPhone for storing users usernames and passwords securely, thankfully there is a class already to use without too much work from me, so I’ve implemented this in my code and so far so good!
http://log.scifihifi.com/post/55837387/simple-iphone-keychain-code
This site also helped point me in the right direction http://discussions.apple.com/thread.jspa?threadID=1536386
So now I have my loginViewController with a login form ready for my user to enter their details and also have the means for the values they enter to be stored securely and accessed by the app later on, so the next bit is validating their input with the website via some service. The iPhone SDK seems to have some nice easy methods for calling webservices and making use of them in the app. So I need to start making some webservices from my web app. So now I’m turning my attention away from the iphone app (kinda) and looking at making RESTful services.
First stop is http://blog.garethj.com/2009/02/building-a-restful-web-application-with-php/ – not sure this is any good but its going to be my starting point.
Also looking forward to the Apple announcement, saw a linked pic of the iSlate today…. very nice! Also Google phone could be an interesting idea, but I’m still sticking to the iPhone!
Posted by Terry on Jan 3, 2010 in
Web Development,
iPhone
As planned I started my iPhone app again, being lightly inspired by LinkedIn’s new interface I decided to rewrite my app and move away from a tabbed interface. Now my app runs using a navigation controller and icons are used to browse to different view.
So how far have i got? Well I’ve been working on it for three days on and off and I’ve set up a root controller that houses the icon interface, blank views ready for my various app views and a network detection that detect if the phone has any networking issues, if it does a network unavailable view is displayed as opposed to an alert view (might change this).
Some resources that I found useful so far are:
http://adylitica.com/2009/12/15/test-if-your-iphone-app-is-connected-to-internet/
http://www.raddonline.com/blogs/geek-journal/iphone-sdk-testing-network-reachability/
http://fuelyourcoding.com/iphone-view-switching-tutorial/
Next I need to tackle user login, sqlite3 and connection to my website using RESTful services. I’ll post as I go!
Tags: development, iPhone, iphone app
Posted by Terry on May 19, 2009 in
iPhone

My topscore, sideways
I’ve been playing flight control on the iphone for a few months (about 2) now, I’m not as committed as I once was but I’m still proud of my 126 landed! I’ve found the latest update that allows you to share your score around the world has also increased the difficulty of the game, planes seem much fast and i’m rarely seen with a score over 100…. I’ve submitted my score and i thought i was doing well until i realised there are people around the world with a score of 14000+. I find it hard to believe that people are getting scores this high and i’m wondering if there could be cheating going on…. or maybe i should face facts i’m just no good at it… or i dont have as much time as a 13 year old boy in Nebraska!
http://flightcontrol.cloudcell.com/Stats.php?nStat=1
I shall have to investigate possible cheating
and look forward to more updates.
Tags: iphone app, score
Posted by Terry on May 13, 2009 in
iPhone

iphone screenshot
Just downloaded the wordpress app for the iPhone and this is my first test blog… the genius of iPhone. no excuse not to blog now!
Tags: iPhone, test, wordpress app