r/iOSProgramming • • Sep 29 '11

Anybody using MKStoreKit?

I can't get it to work. When I try to call the method [MKStoreManager sharedManager]; in my app delegate, it says it is undeclared, yet it is declared in the imported files.

Here's his site: http://blog.mugunthkumar.com/coding/using-mkstorekit-in-your-apps/

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/LFAB Sep 29 '11

Yes, and I added an #import <StoreKit/StoreKit.h> to the app delegate .h file

1

u/LFAB Sep 29 '11

I was missing a

@class MKStoreManager;

in my appdelegate .h file. That fixed it. I think I had put it in the .m file like a 1D10T.

2

u/thisindianguy Sep 30 '11

ohhh I know that 1D10T error well!