Posted by: Brian Knorr on: March 26, 2009
For UISpec I needed a an easy way to create and cache a method call on an object. I know that NSInvocation is the class to go with, but it’s very cumbersome to create and use. Luckily I found the blog post Callable Objects in Cocoa, which pointed me in the right direction, so I [...]
Posted by: Jake Dempsey on: March 24, 2009
I have been working on a story: “As a user, I should be able to search for hotels around a given location so that I can add the hotel to my trip.”. I built my basic form for the user to fill out the location information and provided my awesome continue button to get hotels: [...]
Posted by: Brian Knorr on: March 23, 2009
We are happy to announce the availability of a new UISpec demo along with a first pass at documentation, and it’s actually pretty thorough. The documentation can be found here. To run the demo just do an svn checkout or export explained here. Then within the folder you did a checkout/export, go to the directory [...]
Posted by: Brian Knorr on: March 17, 2009
We are getting close to releasing our new open source behavior driven development framwork for the iPhone called UISpec. It is modeled after RSpec for Ruby, but is optimized for Objective-C programming with UIKit. We have the new google code site up which you can check out here. More to come soon.
Posted by: Brian Knorr on: March 5, 2009
If you have ever dealt with using a UINavigationController in your iPhone app, you may have wanted to swap out the root view controller with a new one. Unfortunately the iPhone SDK doesn’t allow you to do this. To do so you actually have to create a brand new UINavigationController, which for us was not [...]