imSimReal

The imSimReal framework and projects built from it

imSimReal: A Cocoa Framework for Mac Games

Updates to imSimReal

June 7th, 2009 · No Comments · imSimReal

After spending the past several months working on other things, I’ve been doing some stuff with imSimReal again. I revised the unit tests to test in the iPhone environment. And I’ve added an Acceptance Test layer. At this point it works pretty well, but I do have another level of display to add to the tests.

The test framework is built on a UITableView in a NavigationView. The top table contains a list of the sets of tests available, like so:

The top level of the test framework in the iPhone simulator

Each cell is a test suite. Touching the cell causes the suite to run. If it passes, it turns green. If it fails, it turns red. And if it is mixed results, it turns yellow. A gray cell is one that has not been run.

If you select the detail view button on the right side of the cell, the detailed table view opens:

UITableView showing the Gravity test suite

This display shows the Gravity test suite, with all the tests having passed. I need another layer, to provide details of the test when you touch the detailed button on the cells at this level, but I haven’t added that part yet. The code for all this is available in the imSimReal package in gitHub.

I am reworking the IMSRPointObject class, removing the NSDictionary that contained all the data, and instead putting the data at the top level. So far it hasn’t been completed, but should be soon. I also plan to add a new Xcode project that builds a Framework for OS X. This framework will support garbage collection.

After that, I’m thinking I need to make an example application using the IMSRGravity and IMSRPointObject classes before moving on to the next piece of functionality.

Technorati Tags:
, , ,

Tags:

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Please copy the string qbtAp3 to the field below: