Skip to content

Instantly share code, notes, and snippets.

@priore
Created October 25, 2013 23:56
Show Gist options
  • Save priore/7163646 to your computer and use it in GitHub Desktop.
Save priore/7163646 to your computer and use it in GitHub Desktop.
Add a gift shop to your iOS application
// With MYZazzleStore SDK it's really simple to add a gift shop to your application for your users.
// With a few lines of code you can give your users the opportunity to purchase T-shirts personalized
// mugs, iphone / ipad covers and other types of gifts. It also allows you to increase financial gains
// and increase the popularity of your products.
MYZazzleStore myStore = [[MYZazzleStore alloc] initWithFrame:CGRectMake(0, 50, 320, 410)];
myStore.imageLink = @"http://www.my-domain.com/my-image.png";
// your Zazzle ID, this will allow you to earn referral on purchases (optional)
myStore.accountId = 1234567890;
[myStore reload];
[self.view addSubview:myStore.view];
// look sample source code https://github.com/priore/MYZazzleStore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment