I am new to iOS development, but this is a question which I have a lot of trouble with and could help others. I need to pass a simple integer variable between two views. This is an example of a variable I need to pass:
int tally = 1;
People talk about messing with delegates and protocols to pass data between views, but frankly, that is all a bit over my head. Is there an easier way to pass simple variables such as integers between two view controllers?
Thank you kindly for any responses!