Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.