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 trialsebastianlang
161 PointsHow 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
14,185 PointsI 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:
sebastianlang
161 PointsThanks thats solve my issue.