QuickDialog (<a href="http://escoz.com/open-source/quickdialog" rel="nofollow">http://escoz.com/open-source/quickdialog</a>).<p>Showing a dialog:<p><pre><code> NSDictionary *dataDict = @{'title':'example', 'other':'other text'};
QRootElement *root = [[QRootElement alloc] initWithJSONFile:@"file" andData:dataDict];
QuickDialogController *myDialogController = [QuickDialogController controllerForRoot:root];
[self presentModalViewController:navigation animated:YES];
</code></pre>
example json form definition file to match:<p><pre><code> {
"grouped": true,
"title": "Example QuickDialog Form",
"controllerName": "QuickDialogController",
"sections": [
{
"elements": [
{
"type": "QEntryElement",
"title": "Title",
"placeholder": "item title",
"bind": "textValue:title" },
{ "type": "QMultilineElement",
"title": "Other info",
"bind": "textValue:other" }
]
}
]
}
</code></pre>
data from dataDict is merged into the fields defined in the json definition file, using the bindings specified in the 'bind' property.<p>It's really awesome, and makes all kinds of dynamic views possible. I was skeptical at first (as I am about most cocoa libraries) but I'm pretty sold on it since I gave it a fair shot.