I appear to have lied: the object makes it across successfully. Thanks
all for your help.
John
John Greene wrote:
> Ah, reasonably better! Now I have:
>
> - (void)tableView:(UITableView *)tableView
> didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
> if(dvController == nil)
>
If I understand your question, it appears the concept you're missing
is the Model-View-Controller (MVC) design pattern around which Cocoa
is heavily designed. The controller should be where your XML (which
belongs to the model layer) is generated. The controller would
conceptually have an outlet
Ah, reasonably better! Now I have:
- (void)tableView:(UITableView *)tableView
didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if(dvController == nil)
{
theaterDetailController *aController =
[[theaterDetailController alloc] initWithNibName:@"th
On Wed, Aug 20, 2008 at 12:47 PM, John Greene <[EMAIL PROTECTED]> wrote:
> I've tried a couple of things to make the object available to
> theaterDetailController with no success:
>
>* Creating a method:
>
>-(void)setTableData:(NSDictionary)myTheater {
>
Graham Cox wrote:
>
> On 20 Aug 2008, at 10:31 am, John Greene wrote:
>
>> I had originally thought that I could
>> just write a method, setTableData in the secondary controller, that
>> takes an object as an argument, and then use that object to build the
>> secondary table. This is apparently fo
On 20 Aug 2008, at 10:31 am, John Greene wrote:
I had originally thought that I could
just write a method, setTableData in the secondary controller, that
takes an object as an argument, and then use that object to build the
secondary table. This is apparently forbidden by the language, so
what
On Aug 19, 2008, at 5:31 PM, John Greene wrote:
Hopefully this is a generic enough question that it applies to general
Cocoa development: How do I pass an object between views? That is: I
have an array of objects that I've built using NSXMLParser, and that
populates a table, and clicking on a
Hello,
Hopefully this is a generic enough question that it applies to general
Cocoa development: How do I pass an object between views? That is: I
have an array of objects that I've built using NSXMLParser, and that
populates a table, and clicking on a cell changes my view to another
table with