Okay so let's say I have class A...
CLASS A has a method that gets called as soon as the user makes an in app purchase.
-(void) didMakePurchase { ... }
(VIEW CONTROLLER) CLASS B is the View Controller for the current scene. Inside class B I have a function that creates a UIAlertView that basically thanks the user for making the purchase.
-(void) createAlertViewAfterSuccessfulPurchase { ...create UIAlertView... }
Goal/Problem: I want to be able to call the createAlertViewAfterSuccessfulPurchase method inside the didMakePuchase method which is in Class B.
What I've Tried: I tried importing class A and creating an object of Class B in Class A just so I could call that method, but it didn't work (my guess is because Class B is a view controller).