xcode - Unrecognized Selector Sent To Class Error -


so have class called iap .h , .m file. .h looks this:

#import <uikit/uikit.h> #import <storekit/storekit.h>  @interface iap : uiviewcontroller <skproductsrequestdelegate,      skpaymenttransactionobserver, uialertviewdelegate>     +(void)myiapwithitem;  @end 

but when call function myiapwithitem , error. call this:

[iap myiapwithitem]; 

also there item paramater took off test.

do have implementation in .m file?

// in iap.m  @implementation iap  +(void)myiapwithitem {     // }  @end 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -