[Openmcl-devel] Linking StoreKit.framework from CCL and in-app purchases

R. Matthew Emerson rme at clozure.com
Thu Apr 18 12:17:23 PDT 2013


On Apr 18, 2013, at 3:02 PM, Michael Minerva <minerva at agentsheets.com> wrote:

> I'm still trying to get the the app purchase going and I ran into a bit of a problem.  The class SKProductsRequest
> 
> http://developer.apple.com/library/mac/#documentation/StoreKit/Reference/SKProductsRequest/Reference/Reference.html
> 
> has a property called delegate which I need to set for my SKProductsRequest object.  In my experience most objects that take a delegate will  have a setDelegtate method but neither the SKProductsRequest nor its superclasses have a delegate setter.  This would normally be set in objective C with a call like:
> 
> request.delegate = self;
> 

This dot notation is syntactic sugar for [request setDelegate:self], so in ccl, you'd say (#/setDelegate: request self).

> how would we do a similar set with ccl? 






More information about the Openmcl-devel mailing list