Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Standard Version / Linking UI element and Mediator on: December 19, 2009, 09:46:42

I have a small begginer problem at starting point on my application :

I have an UI element which is an UIView. It is set as the viewComponent of a Mediator in my StartUpCommand. When the user performs an Event such as a touch on an element of the UI Element, I'd like to launch a notification to inform the Application Engine. I don't know how to proceed from there :
Do I have to set a listener in the mediator or do I have to launch the notification from the UIView itself ?
And how can I do it simply ? I feel I'm missing the point here but I couldn't figure it out by myself so any help would be greatly appreciated :)

Pages: [1]