I am writing an iOS module to implement non existing functionality in the calendar. Can I access the app's event store in an iOS module rather than creating my own ?
Appcelerator Titanium iOS module access event store
134 views Asked by hini At
1
The typical pattern is to add event listeners to some proxy returned by your module. When some event happens that you want to emit from your module to be handled by the JavaScript code, you can do so.
Your JS can register your callbacks by calling a method on your module:
... which is called by your JS:
... and when your module wants to let your JS know what's going down:
See more examples here: https://github.com/appcelerator-modules/ti.moddevguide/search?utf8=%E2%9C%93&q=fire