How to use "viewMap.mapPackage"
How to use "viewMap.mapPackage"????
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Stray on 24 Mar, 2011 12:05 PM
Could you ask a more specific question?
Support Staff 2 Posted by Stray on 02 May, 2011 02:50 PM
Just incase anyone is coming across this - the viewMap is an alternative to the mediatorMap (you should only use one or the other), which facilitates injection into views.
Would map all the classes within this package for injection. The viewMap then monitors things landing on the stage and when something from that package arrives it populates the injections that are required.
So - mapPackage is just a short hand for mapping all the views in a package rather than mapping them individually.
Stray
Stray closed this discussion on 02 May, 2011 02:50 PM.