Cocos2dx 勉強会

1,823 views
1,716 views

Published on

Published in: Travel, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,823
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • Cocos2dx 勉強会

    1. 1. Cocos2d-X 勉強会 in Smart Education
    2. 2. Agenda• 自己紹介• iOS6 Sell Products in App• Cocos2d-X 基本編 (Matsuura@syuhari)• Cocos2d-X 実践編 (Shimizu@tks2)• Cocos2d-X Tips (Matsuura@syuhari)• Q&A
    3. 3. 自己紹介• 松浦 晃洋• 株式会社シュハリ• Blog : Sun Limited Mt. http://www.syuhari.jp/blog/• @syuhari• facebook.com/syuhari
    4. 4. 自己紹介• 松浦 晃洋• 株式会社シュハリ• Blog : Sun Limited Mt. http://www.syuhari.jp/blog/• @syuhari• facebook.com/syuhari
    5. 5. アプリ内アプリ購入
    6. 6. - (void)viewSellProduct:(NSNumber*)appId { SKStoreProductViewController *viewController = [[SKStoreProductViewController alloc] init]; viewController.delegate = self; NSDictionary *parameters = @{SKStoreProductParameterITunesItemIdentifier:appId}; [viewController loadProductWithParameters:parameters completionBlock: ^(BOOL result, NSError *error) { if (result) { [self presentViewController:viewController animated:YES completion:nil]; } else { NSLog(@"description: %@", [error localizedDescription]); NSLog(@"failure reason: %@", [error localizedFailureReason]); NSLog(@"code: %d", [error code]); } }]; [viewController release];}- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController { [viewController dismissViewControllerAnimated:YES completion:^{ // 後処理 }];} https://github.com/syuhari/SellProduct

    ×