yuuki1224 / ASNDynamicClasses

Generate Dynamic Classes from json file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#ASNDynamicClasses ##Usage You can create ObjectiveC Classes from json file on the runtime.

ASNDynamicClasses *dynamicClasses = [ASNDynamicClasses alloc] initWithPath:@"dummy"];
NSArray *generatedClasses = dynamicClasses.generatedClasses;
{
    "User" : [
        "name",
        "age",
        "sex"
    ],
    "Product" : [
        "name",
        "color",
        "createdAt"
    ]
}

You can create User and Production Classes. They have 3 properties(name, age, sex and name, color, createdAt) each other. Ofcourse, You can change them!!

##Todo

  • Demo doesn't work
  • A lot of functions

##Author Yuki Asano, yuuki.1224.softtennis@gmail.com

About

Generate Dynamic Classes from json file


Languages

Language:Objective-C 100.0%