Pass string from tableviewcontroller to viewcontroller in navigation stack
- by Jonathan
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:...]