Latest | 0.1.5 |
---|---|
Homepage | https://github.com/seletz/JasonetteDemoAction |
License | MIT |
Platforms | ios 8.0 |
Authors |
What is it?
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:
- https://github.com/Jasonette/JASONETTE-iOS/issues/26
- https://github.com/Jasonette/JASONETTE-iOS/issues/34
Usage
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": "???"
}
]
}
}
}
}
Author
Stefan Eletzhofer, [email protected]
License
JasonetteDemoAction is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "JasonetteDemoAction", "version": "0.1.5", "summary": "A example action plug-in for Jasonette.", "description": "This is an example plugin for the Jasonette iOS app framework.nSee http://jasonette.com/", "homepage": "https://github.com/seletz/JasonetteDemoAction", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Stefan Eletzhofer": "[email protected]" }, "source": { "git": "https://github.com/seletz/JasonetteDemoAction.git", "tag": "0.1.5" }, "social_media_url": "https://twitter.com/seletz", "platforms": { "ios": "8.0" }, "source_files": "JasonetteDemoAction/Classes/**/*" }
Thu, 02 Feb 2017 11:20:03 +0000