BuyFeaturesViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | ADBannerViewDelegate SKPaymentTransactionObserver SKProductsRequestDelegate |
| Declared in | BuyFeaturesViewController.h BuyFeaturesViewController.m |
Tasks
Other Methods
-
descriptionBuySeasonTextproperty -
descriptionProVersionTextproperty -
buySeasonproperty -
buyProVersionproperty -
seasonPassDescriptionproperty -
proVersionDescriptionproperty
Other Methods
-
– viewDidLoad -
– supportedInterfaceOrientations -
– willAnimateRotationToInterfaceOrientation:duration: -
– didReceiveMemoryWarning -
– bannerView:didFailToReceiveAdWithError: -
– onClickBuySeason: -
– onClickBuyProVersion: -
– onClickRestorePurchases: -
– buyProFeature -
– buySeason: -
– productsRequest:didReceiveResponse: -
– request:didFailWithError: -
– paymentQueue:updatedTransactions: -
– alertView:clickedButtonAtIndex:
Instance Methods
alertView:clickedButtonAtIndex:
Standard iOS Alert Box button handlers
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndexParameters
- alertView
The Alert View
- buttonIndex
Index to the button that was clicked
Declared In
BuyFeaturesViewController.mbannerView:didFailToReceiveAdWithError:
Standard iOS delegate to handle iAD display error
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)errorParameters
- banner
The Banner
- error
The Error
Declared In
BuyFeaturesViewController.mbuyProFeature
Helper function to buy Pro Version feature.
- (void)buyProFeatureDeclared In
BuyFeaturesViewController.mbuySeason:
Helper function to buy Season Pass feature.
- (void)buySeason:(NSString *)seasonDeclared In
BuyFeaturesViewController.mdidReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarningDeclared In
BuyFeaturesViewController.monClickBuyProVersion:
Handler for the Buy Pro Version button
- (IBAction)onClickBuyProVersion:(id)senderParameters
- sender
The sender of the event
Declared In
BuyFeaturesViewController.monClickBuySeason:
Handler for the Buy Season button
- (IBAction)onClickBuySeason:(id)senderParameters
- sender
The sender of the event
Declared In
BuyFeaturesViewController.monClickRestorePurchases:
Handler for the Restore Purchases button.
- (IBAction)onClickRestorePurchases:(id)senderParameters
- sender
Sender of the event
Declared In
BuyFeaturesViewController.mpaymentQueue:updatedTransactions:
Standard iOS delegate to handle the In-App purchase transactions
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactionsParameters
- queue
The Queue
- transactions
The Transaction
Declared In
BuyFeaturesViewController.mproductsRequest:didReceiveResponse:
Standard iOS delegate when the In-App Get Products
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)responseParameters
- request
The Request
- response
The Response
Declared In
BuyFeaturesViewController.mrequest:didFailWithError:
Standard iOS delegate when the In-App purchase fails
- (void)request:(SKRequest *)request didFailWithError:(NSError *)errorParameters
- request
The Request
- error
The Response
Declared In
BuyFeaturesViewController.msupportedInterfaceOrientations
Standard iOS delegate to get the allowed orientation of the application.
- (NSUInteger)supportedInterfaceOrientationsReturn Value
<#return value description#>
Declared In
BuyFeaturesViewController.mviewDidLoad
Load and initialize the Controller for the Buy Features View
- (void)viewDidLoadDeclared In
BuyFeaturesViewController.mwillAnimateRotationToInterfaceOrientation:duration:
Standard iOS delegate when this view is rotated.
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)orientation duration:(NSTimeInterval)durationParameters
- duration
Duration of orientation
- toInterfaceOrientation
Orientation being displayed
Declared In
BuyFeaturesViewController.m