Im making a quiz based game in which has multiple view controllers that all share a "Skip Question" button. The user will have 3 skips and can purchase more at any time. I'm trying to create a class in which i can use a sharedInstance that i can use to add skips or use one, but what I don't under stand is how to retrieve the amount of skips they have on one of my view controllers. For example:
My Integer Class .h
int skips;
My Integer Class .m
skips = 3;
My ViewController.h
int vcSkips;
My ViewController.m
vcSkips = [MyIntegerclass skips];
Just an example. How can I do this?