Jonathan Cusick

iPhone Development: MVC Design Pattern

If you are planning on developing applications for the iPhone chances are you will be familiar with object oriented programming. Design patterns promote code and design reuse along with making an entire application easier to understand and why a certain structure was adopted.

It is important to note that a design pattern is not a blueprint for an application that just has to be written in your development language of choice, but rather a blueprint for how to implement your code in order to enable stronger code maintainability, testing and to avoid a wide range of issues that could otherwise occur with unstructured (spaghetti) code.

The iPhone platform makes use of the Model View Controller (MVC) design pattern.

    Model – Manages the data for the application and how the state of the data should be updated.

    View – Will handle how the data is displayed on the screen.

    Controller – Deals with the inputs from the user such as utilising all the available on screen elements such as buttons and keyboard functions.

With the MVC design pattern it means that when developing for the iPhone you will have a better way of maintaining and testing your applications. Overall this should mean that better quality applications are created.

MVC-JC2

On a side note I used Balsamiq Mockups to create the above diagram, I would highly recommend giving it a try. This has quickly become one of my favourite applications.

Updated: Diagram updated to show two way relationship between model and view (well spotted by David Rice)

Adobe: Creative Suite 4 – Web Premium

Last week I received the Adobe CS4 Web Premium software which I won at the Build Conference, a massive thanks to Giant Training and Adobe for this.

The following is the complete story:

On November 5th I attended the Build conference in Belfast, during the event Ian Sayers from Giant Training held a prize draw for the chance to win a copy of Adobe CS4 Web Premium or Design Premium worth a whopping £1500. I was extremely lucky when Eric Meyer pulled my name out of the box, I seriously couldn’t believe I had won and opted for CS4 Web Premium.

With CS4 a wide range of new and exciting opportunities have presented themselves. I am currently developing several iPhone applications which will now have their entire interface redesigned in PhotoShop which will give them a much more professional presence.

As an amateur photographer I will now have the ability to add a new dimensions to my photos in addition to designing and developing a new website to showcase them.

These tools will significantly help me on a daily basis with all my personal development and design projects.

Many thanks to Giant Training and Adobe!

Jonathan Cusick

CS4

My Lucky Streak: Jase Bell – Discussion

I have had an incredibly lucky streak this year where I managed to win an iPhone 3GS at Refresh Belfast which was provided by Ecliptic Labs and then a CS4 Web Premium applications package at the Build Conference from Ian Sayers at Giant Training.

Jase Bell has now created an iPhone app proposal that I feel if developed should be implemented in competitions across the land!

Although in all seriousness I have been extremely lucky at these two events and I am putting both the iPhone and CS4 suite to very good use. Hopefully there will be a post here in the not to distant future referring to the launch of an iPhone application.

Build Conference #3 – Build

On Thursday November 5th the first Build conference was held in Belfast’s Waterfront Studio.

The atmosphere during Build was fantastic, a really positive vibe was emanating from the audience all day. The speakers did interesting and informative presentations, we even learned how to open a banana thanks to Tim Van Damme, I can’t believe we were doing it wrong all this time.

In case anyone missed the lineup of speakers, they are all top class:

    Eric Meyer
    Tim Van Damme
    Mark Boulton
    Wilson Miner
    Andy Budd
    Ryan Sims

I was also very lucky during the Build conference as I won a copy of Adobe CS4 Web premium (for Mac OS X) from Giant Training, thanks to a prize draw where Eric Meyer picked my out of a box.

The Build after party was also made of the stuff of legends, many beers were had and I met so many great people who I hope to see again next time!

A great job by Andy Good/McMillan on organising Build, it has been the most informative and fun conference I have had the pleasure to attend. Already I am looking forward to the next Build!

BuildBadge
Conference pass.

BuildTim
Tim Van Damme getting things started with the first presentation.

Build Conference #2 – Airside

On Wednesday evening (November 4th) the Build conference events continued, ‘An evening with Airside‘ was held in the Conor lecture theatre at the University of Ulster, where we were all treated to an insight of the inner workings of one of the UK’s leading design studios.

Until the Build schedule was announced I was unfamiliar with Airside, now after an inspiring lecture I look forward to closely following their work.

Airside