passing an object between views

2008-08-19 Thread John Greene
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

Re: passing an object between views

2008-08-20 Thread John Greene
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 >> sec

Re: passing an object between views

2008-08-20 Thread John Greene
to NSLog. Is there something obvious that I'm doing wrong? John Michael Ash wrote: > 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 >> theaterDetailCo

Re: passing an object between views

2008-08-20 Thread John Greene
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(dvCo

reusing cookies set in UIWebView

2008-08-21 Thread John Greene
Hi, I've done a little bit of searching and haven't found an answer to this dilemma: I want to use a webservice in my app that returns XML, but the catch is the user has to be logged in to get valid results, and the log-in is quite distinct from the webservice. I could create a UIWebView to the l

Re: [moderator] Re: reusing cookies set in UIWebView

2008-08-22 Thread John Greene
gt; [moderator] > > > On 21-Aug-08, at 8:18 PM, John Greene wrote: > >> Hi, >> >> I've done a little bit of searching and haven't found an answer to this >> dilemma: I want to use a webservice in my app that returns XML, but the >> catch is the user