Objectify is a Mac® application for Objective-C developers that creates Cocoa class implementations from JSON. Whether you're working with web services or building everyday classes, Objectify's here to save you time.
JSON is rapidly becoming the de facto standard data serialization format for web APIs, used in thousands of applications. Creating model classes based on this content has been a tedious chore that invites bugs and heartache.
Objectify saves you time and effort by spinning through any JSON content you give it, building customizable models that can be exported as Objective-C header and implementation files.
Though Objectify is a complete standalone app, if you're a user of the mighty Accessorizer, Objectify can use it for code generation so all your code style preferences are already taken care of!
Clever developers have noticed that this also makes Objectify a great prototyping and scaffolding tool. It only takes a few seconds to go from an idea for a class to having working code based on your favorite templates.
* ARC- and LLVM 4-ready!
Tired of ivars in headers, autorelease and @synthesize? Objectify can now generate ARC-compliant code. You can also take advantage of some of LLVM 4's features to reduce code.
* Model Merge
Objectify has always been able to merge members of an array into one simple "super" model. Now you can merge any models in your schema you'd like to combine!
* Instant Instances
Class implementations can be generated with methods that will create a new instance of that class populated with data from an NSDictionary. Or go the other way by creating an NSDictionary representation of that instance.
* Your Code, Your Style
Objectify can apply prefixes to class names, prefixes and suffixes to ivars, or add NSCoding compliance. If you have Accessorizer 2.9.3 or later, Objectify can "hand off" code generation to it so your code stays consistent.
* Our Templates or Yours?
While Objectify has its own simple templates for header and implementation files, it can also use your favorite Xcode®-compatible file templates — whether stock or with your own secret sauce.
* Plays Well With Others
Objectify is Services-aware. You can use a context menu or key combo to easily send JSON text or URLs to it from any application. Try dragging your classes directly to Xcode!
* Flexible Input
There are plenty of ways to get your JSON into Objectify. It can fetch content from URLs, other applications, local .json files, or you can type your content in manually.
* Fits in Your Workflow
Accessorizer is a key part of many top developers' workflows. Objectify was designed from day one to optionally send class ivar declarations to it, so you don't have to change your workflow if you don't want to.
* Plays Well With Others
Objectify is Services-aware. You can use a context menu or key combo to easily send JSON text or URLs to it from any application. Try dragging your classes directly to your favorite text editor!
* Save Your Work
If you need step away while customizing your new models, or want to commit a snapshot to your SCM of choice, you can save your work into an .objson file to pick up where you left off later.