TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Nov 2016 |
Maintained by Stefan Eletzhofer.
This is an example plug-in for Jasonette. This plug-in implements
a plug-in which can be invoked using Jason. The plug-in implements one action demo
which
does a NSLog()
and returns some values to the caller. It also demos the usage of the
options
passed to the action.
For details, please see these issues:
To use this plug-in in Jasonette, you need to add this pod and recompile:
$ cd Jasonette-iOS
$ cd app
$ pod install JasonetteDemoAction
Once you did that, you can invoke the plug-in using something like this:
{
"$jason": {
"head": {
"title": "Jasonette Demo Action",
"actions": {
"$load": {
"type": "@JasonetteDemoAction.demo",
"options": {
"text": "foo"
}
}
}
},
"body": {
"header": {
"title": "Jasonette Demo Action"
},
"sections": {
"items": [
{
"type": "label",
"text": "???"
}
]
}
}
}
}
Stefan Eletzhofer, [email protected]
JasonetteDemoAction is available under the MIT license. See the LICENSE file for more info.