Pass string from tableviewcontroller to viewcontroller in navigation stack

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-05-24T17:21:24Z Indexed on 2010/05/24 17:31 UTC
Read the original article Hit count: 226

How should I pass a string to the view controller that gets pushed when a tableviewcell is selected. Should I create a custom init method in the view controller? eg [[myvc alloc]initWithURL:...] Set a property? eg [myvc setURL:...] or myvc.url = ... or just create a custom method? [myvc setLoadingURL:...]

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c