You should use a Observer pattern for this work
http://en.wikipedia.org/wiki/Observer_pattern
Also you can do a static property in your class that can be accesed to update all the instances.
You should use a Observer pattern for this work
http://en.wikipedia.org/wiki/Observer_pattern
Also you can do a static property in your class that can be accesed to update all the instances.
Bookmarks