BuyFeaturesViewController Class Reference
Inherits from | UIViewController |
Conforms to | ADBannerViewDelegate SKPaymentTransactionObserver SKProductsRequestDelegate |
Declared in | BuyFeaturesViewController.h BuyFeaturesViewController.m |
Tasks
Other Methods
-
descriptionBuySeasonText
property -
descriptionProVersionText
property -
buySeason
property -
buyProVersion
property -
seasonPassDescription
property -
proVersionDescription
property
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)buttonIndex
Parameters
- alertView
The Alert View
- buttonIndex
Index to the button that was clicked
Declared In
BuyFeaturesViewController.m
bannerView:didFailToReceiveAdWithError:
Standard iOS delegate to handle iAD display error
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error
Parameters
- banner
The Banner
- error
The Error
Declared In
BuyFeaturesViewController.m
buyProFeature
Helper function to buy Pro Version feature.
- (void)buyProFeature
Declared In
BuyFeaturesViewController.m
buySeason:
Helper function to buy Season Pass feature.
- (void)buySeason:(NSString *)season
Declared In
BuyFeaturesViewController.m
didReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarning
Declared In
BuyFeaturesViewController.m
onClickBuyProVersion:
Handler for the Buy Pro Version button
- (IBAction)onClickBuyProVersion:(id)sender
Parameters
- sender
The sender of the event
Declared In
BuyFeaturesViewController.m
onClickBuySeason:
Handler for the Buy Season button
- (IBAction)onClickBuySeason:(id)sender
Parameters
- sender
The sender of the event
Declared In
BuyFeaturesViewController.m
onClickRestorePurchases:
Handler for the Restore Purchases button.
- (IBAction)onClickRestorePurchases:(id)sender
Parameters
- sender
Sender of the event
Declared In
BuyFeaturesViewController.m
paymentQueue:updatedTransactions:
Standard iOS delegate to handle the In-App purchase transactions
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
Parameters
- queue
The Queue
- transactions
The Transaction
Declared In
BuyFeaturesViewController.m
productsRequest:didReceiveResponse:
Standard iOS delegate when the In-App Get Products
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
Parameters
- request
The Request
- response
The Response
Declared In
BuyFeaturesViewController.m
request:didFailWithError:
Standard iOS delegate when the In-App purchase fails
- (void)request:(SKRequest *)request didFailWithError:(NSError *)error
Parameters
- request
The Request
- error
The Response
Declared In
BuyFeaturesViewController.m
supportedInterfaceOrientations
Standard iOS delegate to get the allowed orientation of the application.
- (NSUInteger)supportedInterfaceOrientations
Return Value
<#return value description#>
Declared In
BuyFeaturesViewController.m
viewDidLoad
Load and initialize the Controller for the Buy Features View
- (void)viewDidLoad
Declared In
BuyFeaturesViewController.m
willAnimateRotationToInterfaceOrientation:duration:
Standard iOS delegate when this view is rotated.
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)orientation duration:(NSTimeInterval)duration
Parameters
- duration
Duration of orientation
- toInterfaceOrientation
Orientation being displayed
Declared In
BuyFeaturesViewController.m