CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | BSD |
ReleasedLast Release | May 2015 |
Maintained by Evgeny Kamyshanov.
ifacegen is a code generator, it simplifies using of existing REST+JSON APIs from Objective-C code. ifacegen makes native wrappers for remote service calls and JSON dictionaries. Simple IDL used for description of existing protocol. This is a fork from initial repo, that you can find at https://bitbucket.org/ifreefree/ifacegen
ifacegen is not a general purpose serialization tool. It's only compiles IDL given and generates special Objective-C classes accordingly.
iOS+ARC, Python 2.7
pod 'ifacegen'
$ python ifacegen.py [-h] [--prefix PREFIX] [-o OUTDIR] I [I ...]
If you use Cocoapods to install the tool, you may want to add "Run Script" phase to your Build Phases, like this:
python Pods/ifacegen/generator/ifacegen.py <IDL file names> -o <output directory>
Example can be found in the repo. Also see a tutorial in DOC file