The first Guildford College iPhone app is nearly ready to be submitted to Apple for Approval. Here’s a few notes of the journey so far.
Technical Requirements
- Register College onto the iPhone Developer Programme
- Register as an iPhone developer and login to Apple iPhone Dev Centre
- Add myself as a member of the Guildford College Organisation
- Create new provisioning profile and add to testing device(s)
- Obtain valid certificate and install into Apple’s Keychain software
- Install the latest iPhone SDK onto Mac* (beware this is a huge download, over 2.1GB)
- Add new application in iTunes Connect
*iPhone SDK 4
iPhone SDK 4 includes the Xcode IDE, iPhone Simulator, and a suite of additional tools for developing applications for iPhone, iPad and iPod touch.
Concept
I wanted to start with an app that was quite simple and achievable, so it wouldn’t take too long and get a Guildford College presence on the app store quickly and before the new academic year started. So I thought for version 1.0, use links to the websites, campus maps, email and telephone. Then build on this for version 1.1 and beyond. I didn’t want to add prospectus PDFs because we have 5 for Guildford and 1 for Farnham, combined they would make the app too big and would take too long to download even on wifi.
I used the following software:
- Adobe Photoshop CS3
- Adobe Illustrator CS3
- Google maps
- Xcode / Interface Builder (iPhone SDK 4)
Design
I found an excellent iPhone Photoshop template resource. Based on iOS4, it includes all the elements you need to design proof-of-concepts or production ready assets. I used this to create the interface design and button style. I then saved out all of the buttons, logos etc as transparent PNGs ready for import into xcode.
The icon is quite simple, dark ‘Gc’ text on a white background. Similar to the favourite icon used on the websites. This was saved out twice, once for the itunes store artwork (512×512 iTunesArtwork.png) and secondly for the iPhone icon (57×57 icon.png).
I used Google maps (my maps) to create three maps for Merrist Wood, Stoke Park and Farnham College. I added different coloured placemarks for key points at each campus giving a short description and importing a photograph. Marketing then approved the content. and they were then added to the Guildford College and Farnham College websites using iframes (good example of being able to reuse/repurpose work).
Development
I used an Apple sample Tab based project as the starting point. I needed 4 buttons, one for home and one for each campus menu. I created the three menus screens, the home page and finally the three webview controllers for the maps. The menus and webviews all use near identical code. Once the code was written I could link up the buttons.
The maps are quite slow at loading, slower than using the inbuilt map functions. I’ve added some activity spinners on ‘webviewdidload’ but they do finish a little early. I considered using inbuilt maps but they are slower to setup and if I wanted to make a change I’d have to resubmit the app.
Testing
I’m using my own personal iPhone 3GS (OS4 installed) and an iTouch (OS3.1.3) to test. Because I’ve added a ‘call’ button I needed to check this switched off if the user wasn’t using an iPhone. The simulator is good but it can’t test everything. Once happy I took screenshots (Apple + shift + 3), cropped them to 320×480 and uploaded into iTunes Connect.
Conclusion
xcode isn’t the best bit of software I’ve ever used, it constantly spawns new windows, I’m forever moving windows about to clear some space, hopefully the new version will improve this but I’m unsure when it’s due out. Also when you look at the project folder in Finder it doesn’t use the folder structure from xCode so all of the files are dumped on the top root level, making it harder to in things and lastly try not to rename any files, I spent over an hour fixing broken references when I renamed a few class files.
I haven’t heard anything good about Apple’s communication when submitting apps so it will be interesting to see what happens. I’m expecting it to take a week after submission before I hear anything back, unsure if it being free, simple and from educational establishment will make any difference.
App submission update
Just come unstuck when trying to upload app into the app store using iTunes Connect. To create apps you need valid ‘developer’ and ‘distribution’ certificates and provisioning profiles. Because we are using the Apple University Program we aren’t allowed:
- Ad hoc distribution
- App store distribution
- In-house distribution
All we can do is create an app and deliver it to 200 registered devices, time consuming and not much use. So we’ll have to sign up to the standard program at $99 per year.
30/07/2010 update
I am now finally a signed up ‘Standard’ developer, (only taken a month!). It has taken me all morning to get the certificates, provisioning profiles all working in xcode and linked up to the iPhone 4 and our new iPod Touch. But next problem is when I log into iTunes Connect to submit the app, I’m not in the right account, its still linked up to the Higher Education Developer account. So I’ll wait for response from Apple’s support, hopefully it won’t take too long to put right.
10/09/2010 update
Apple have approved the Guildford College app, only took 11 days. They also fixed the dual iTunes account problem I was having. App isn’t available through store yet, it needs to be updated with the new college branding before it is allowed to be live, so all being well v1.1 will be available at the end of September.
29/09/2010 update
iGuildford app is now live.
Useful Links
Here’s the iPhone/iTouch button icon and screenshot of the Merrist Wood menu screen:
