A couple of months ago I mentioned a very extensive Objective-C data model framework called Mantle that provides an interesting alternative to Core Data with a number of useful functions such as the capability of turning your objects into JSON dictionaries.
Today I came across a new project from Marin Todorov called JSONModel. This framework was created to reduce the amount of issues when working with the many different iOS libraries that use JSON data such as AFNetworking.
Here’s a list of some of the interesting features:
- Rapidly write model code
- Validation of the model’s input
- Atomic data
- Type casting between JSON and Obj-C
- Built-in data transformers
- Custom data transformers
- Model cascading
- Convert back & forth from/to JSON
- Persist model state in memory or file
You can see in detail the syntax used for each of these features on a Touch Code Magazine post here.
You can download the current versions from the homepage here.
You can also find a video demonstrating how to gather data from Twitter and place within a JSONModel object, and display that information on the screen on Vimeo here.
The framework is still in beta (use at your own risk) but it looks like it’s off to a great start.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.