I am trying to get the trail name from the selected cell and pass it on to the next view in didSelectRowAtIndexPath. How would I go about this?
http://pastebin.com/bgXNfjie
I am trying to get the trail name from the selected cell and pass
Share
if I understood you correctly, then this is not such a big thing. You just have to make a property in TrailViewController to hold your value and assign it like this:
Instead of just the name, you’ll probably want to assign the complete NSDictionary to a property of the TrailViewController,but thats up to you. I hope I could help…