Starter Step

PureMVC for IPhone Development

Posted on: December 24, 2008

Over the past couple months I have been working on a port of the very popular PureMVC framework to Objective-C.  PureMVC is the brainchild of Cliff Hall, who like many others had been looking for a framework that makes it easy to build Rich UIs, but he found that nothing out there really met the mark.  Thus was born PureMVC, a lightweight framework for creating applications based on the classic Model, View, Controller concept.  Its first implementation was in AS2 and AS3 for Flex/Air/Flash and is now the framework of choice for most when doing this type of development.

Ever since I started doing IPhone development (about 6 months ago) I was looking for something to help manage our code and provide conventions that allow for quicker development times.  I remembered PureMVC being a great framework back when I was doing Flex development, and was thrilled to see that it had been ported to several other languages.  Well then I thought why not for the IPhone?  Which is exactly what I ended up doing:)

Building out the core PureMVC framework in ObjectiveC has been fun and challenging, and I have learned a lot about the ins and outs of what is possible with the IPhone.  Over the next couple weeks I will begin sharing my experiences and some of my insights into building high quality, robust IPhone applications.  Stay tuned!

Advertisements

3 Responses to "PureMVC for IPhone Development"

Hey Brian,

Just stumbled onto your puremvc port. Thanks for putting it together!

Was wondering if you’ve used it for any projects. If so how do you feel about it today.

I use puremvc extensively when building flash apps, but want to make sure I get into the best setup for cocoa, not just what I’m used to doing.

Lastly, it would be excellent if you could list any other really useful tools, frameworks that you find yourself using in your iPhone development.

Thanks again!

LR

Hi there….we actually used puremvc extensively for our iphone application TripCase http://www.tripcase.com and it worked very well for us.

Other tools for iphone dev I think you might want to look at are:

iPhone on Rails
http://iphoneonrails.com/

UISpec
http://www.iphonetesting.com

Three20
http://github.com/facebook/three20

Enjoy!

-Brian

hi brian
when i try using the pureMVC port for objective C (static library) with xcode 4.3 and ios 5 i get the following linking error “PureMVC_ObjectiveC_1_1.a, file is universal but does not contain a(n) armv7 slice for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)” is there a new static library available to solve this?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


  • Dave: I can tell you're a ruby guy because you forgot the 'return' keyword. Thanks for the tip though!
  • Chandrashekhar H M: Hi, Thanks its working fine in iOS 6 but not in iOS 7.0. Any Suggestion on this.
  • Coeur: To change a rootViewController, without all this TVNavigationController : myNewRoot = [[UIViewController alloc] init]; myNavigationController.view
%d bloggers like this: