0

I'm currently making an app that asks the user to enter information in a modal view, and that data needs to be accessed in a different view. Here is the set up:

In my New Exercise Controller, the user will enter the information and I need to be able to use it to create cells in my New Workout View Controller. How do I pass the data from my modal view back into this other view?

ACR
  • 185
  • 2
  • 12
  • @lostintranslation That's in obj-c. I'm looking for a solution in Swift – ACR Jul 26 '15 at 20:18
  • Here is one is swift. http://stackoverflow.com/questions/28358023/pass-data-back-from-a-popped-viewcontroller-using-swift – lostintranslation Jul 26 '15 at 20:21
  • And another. http://stackoverflow.com/questions/25522912/passing-data-back-from-view-controllers-xcode-v6b5-swift – lostintranslation Jul 26 '15 at 20:24
  • possible duplicate of [How do you share data between view controllers and other objects in Swift?](http://stackoverflow.com/questions/29734954/how-do-you-share-data-between-view-controllers-and-other-objects-in-swift) – nhgrif Jul 26 '15 at 22:19

0 Answers0