This blog is shared between Linden and Rachel, who are cousins. The purpose of the blog is to share interesting information, links, and events. We share interests such as Apple Computers, Gaming, SciFi and Fantasy, computers in general, Programming (yay Python), websites and building them, and cool things in general.
Tuesday, August 26, 2008
PureMVC Gotcha
Don't send notifications that you're expecting a response to in your mediator's constructor (or during construction). Instead, override the onRegister() function and call them there. Your Mediator won't receive notifications it's interested in until after the registration process is finished. Seems pretty obvious, but you can loose track real quick of what's going on in the background when you're using a system like PureMVC that just seems to work.
No comments:
Post a Comment