I have a scoreboard app that has many UITextFields that holds the scores for each player of every round. When clicking on the text field, instead of just using the keyboard to input a score, I want to create another viewController (a popover or a page-curl modal segue would work). This 2nd view controller has a special calculator the player can use to input their score. So basically every score box triggers an action to the calculator view. Once I have the result on the calculator view, I want to dismiss the view and have the score that was just calculated to appear in the score box that cause the segue to occur. (I want to transfer the a specific UILabel.text from the 2nd view Controller back to the first view controller).
After trying a bunch ways to do this, I feel like I must learn about delegates. I'm trying to wrap my head around this concept and see if this really does apply to what I'm trying to do. It seems I have to somehow have my UITextFields (the score boxes) "listen" or "wait for" the calculator result to change. Is this correct? Am I over complicating things? Do I need to learn about delegates to make this work?