Created
January 26, 2011 09:59
-
-
Save kuon/796499 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01:18 < KU0N> Now, how can I notify a view from a model? | |
01:18 < KU0N> The thing is, I have a complex view that manage a timeline http://www.simile-widgets.org/timeline/ | |
01:19 < KU0N> now, when a model is deleted, I need to notify that view so it can reload the timeline from the server | |
01:19 < KU0N> I must trigger the reload after the server finished deleting the object | |
01:19 < KU0N> so I have didDestroy called on my model by my datasource | |
01:20 < KU0N> now what would be the best way, from my model didDestroy method, to notify my view? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment