0

So I have been stuck on this for a week or so, but how does one pass the specific row selected on a UIPickerView from the secondviewcontroller to the first? I need it for a series of if statements in the firstviewcontroller, so I am thinking segues are not the way to go? Sorry if this seems a bit rudimentary, I am brand new to Xcode and objective c in general.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • I'd look up delegation. Implement delegates between your VCs – Eyeball Aug 07 '14 at 21:10
  • Have you tried using delegation? You may want to read up on this: https://developer.apple.com/library/ios/documentation/general/conceptual/DevPedia-CocoaCore/Delegation.html and then come back if/when you have any specific programming issues. – TylerP Aug 07 '14 at 21:11
  • Already theres an answer for this problem in this SO PST http://stackoverflow.com/questions/5210535/passing-data-between-view-controllers?rq=1 – Rugmangathan Aug 08 '14 at 05:04

0 Answers0