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 trialStian Andreassen
523 PointsWhat course am I looking for? Want to transfer and delete data across View Controllers?
Hello, I don´t know if it´s ok to ask a question like this in the community, and if it´s not, just delete it :) As the headline states, I want to be able to send and delete data across View Controllers; View Controller 1: Has buttons with certain values. When one or more of these buttons are pressed, I want to send the values to View Controller 2 View Controller 2: Has a label that shows the values from View Controller 1. It also has a delete button, that should delete the values from the label. The user should then be able to go back to View Controller 1 and start the prosess over.
Is there a course that covers a situation like this?
Jeff McDivitt
23,970 PointsJeff McDivitt
23,970 PointsAlthough I do not think specifically that this is covered. The concept of using segue's is discussed. This is actually a pretty simple task and can be done using swifts built in prepare for segue function. I am unaware of your proficiency as a developer but some digging around not he web and you should be able to find how to accomplish you task with ease