Re: Conceptual MVC Help

2008-05-20 Thread Michael Babin
On May 20, 2008, at 9:41 AM, Johnny Lundy wrote: QUESTION: How would you implement the binding to the model objects "popUpArray" and "selectedGame" so that the popup loads from "popUpArray" and its selection is kept in sync with the property "selectedGame?" Specifically, is there a way to

Re: Conceptual MVC Help

2008-05-20 Thread Erik Buck
Given your class: // Popup.h // TestPopup #import @interface Popup : NSObject { NSArray *popupArray; NSString *selectedGame; } @property (readwrite, copy) NSArray *popupArray; @property (readwrite, copy) NSString *selectedGame; @end To start with, in my opinion you have a brok