TracNav
Objective C Standard...
- Downloads
- Installation
- Release Notes
- API Docs
- View Source
- Discussion
- Unit Tests
Project Owner...
- Brian Knorr
Demos...
UIKit ( iPhone/touch )...
- Employee Admin
PureMVC Standard for Objective C
PureMVC is a lightweight framework for creating applications based upon the classic Model-View-Controller design meta-pattern. This is the specific implementation for the Objective C language based on the Standard Version AS3 reference.
Installation
- From the archive
- Download the latest source code archive.
- Unzip the source code zip to any folder on your disk. (for instance: ~/Dev)
- You will see a PureMVC_ObjectiveC_X_Y (where X_Y is version) source folder. (for instance: ~/Dev/PureMVC_ObjectiveC_X_Y )
- From the Repository
- Use your favorite SVN client to retrieve the latest source code release from the repository.
Examine the Contents
- Inside you will find
- The API documentation: doc/html/index.html
- The source code: src/org/puremvc/objectivec/...
- The static library for use with iphone/ipod XCode projects: bin/PureMVC/PureMVC_ObjectiveC_X_Y.a
- The header files for use with the static library in your iphone/ipod XCode projects: bin/PureMVC/headers
Adding PureMVC to your XCode project
To add the PureMVC static library and headers to your XCode project:
- From the the Groups & Files pane,
- Right click on the Frameworks folder (if it exists)...
- ...or the Link Binary With Libraries folder
- Select Add -> Existing Files...
- Browse and Add the PureMVC static library: ( i.e. ~/Dev/PureMVC_ObjectiveC_X_Y/bin/PureMVC/PureMVC_ObjectiveC_X_Y.a )
- For each target you added it too, you should see the static library (.a) listed in the Link Binary With Libraries folder.
- From the Groups & Files pane,
- Double click the respective target...
- ...or right click and select Get Info
- Click on the Build tab.
- From the Groups & Files pane,
- Under the setting, Header Search Paths,
- Add the path to the PureMVC headers: ( i.e. ~/Dev/PureMVC_ObjectiveC_X_Y/bin/PureMVC/headers )
- Now you are good to code!
Note: The static library has been compiled for the both the simulator and the device.
