Hi, i know this is a very common question, but i can't figure it out, so please give me some hints.
I have a viewcontroller that calculates a value in this case a price lets say 100. The value is displayed in a alertview as a string. In the alert view there is a button called save. When you press that a modal viewcontroller pops up, and lets the user insert some info such as name and price. The string value should already be present. When the user clicks save again, it saves the data to a tableview.
So its pretty simple to-do, but i can't figure out how to acces the strings and add data to the array from the 3 classes. Can anyone give me a hint?