Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Self-Destructing Message iPhone App Using Parse.com as a Backend and Adding Users Logging In and Logging Out

How can i sent data to the firstviewcontroller (in this example the inbox) when i navigate to the root

How can i sent data to the firstviewcontroller (in this example the inbox) when i navigate to the root.

In my application at the end of the navigation stack there is a tableview and i need in my firstview the data which are selected in the tableview. If i do this with an normal "performsegue" this works but i didn't the the tabbarcontroll.

Any hints?

2 Answers

Francisco Navarro
Francisco Navarro
14,185 Points

I think for this purpose you have to use delegation and create your own delegate and protocol. I've found this example in google. Let me know if that is your case:

http://www.alexefish.com/post/522641eb31fa2a0015000002

Thanks thats solve my issue.