Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes boilerplate code from ObjC sample #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ - (IBAction)onBackButtonClicked:(id)sender;

@implementation DefaultLayoutViewController

- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}

- (IBAction)onBackButtonClicked:(id)sender {

[self dismissViewControllerAnimated:YES completion:nil];
Expand Down
5 changes: 0 additions & 5 deletions Sample Code/ObjcSampleCode/UXSDKOCSample/MainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ - (void)viewDidLoad {
}


- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}

- (IBAction)registerButton:(id)sender {

[self registerWithProduct];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,6 @@ - (void)moveWidget

}

- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/

- (IBAction)onBackButtonClicked:(id)sender {

[self dismissViewControllerAnimated:YES completion:nil];
Expand Down
21 changes: 0 additions & 21 deletions Sample Code/ObjcSampleCode/UXSDKOCSample/WidgetsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,6 @@ - (IBAction)onBackButtonClicked:(id)sender;

@implementation WidgetsViewController

- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/


- (IBAction)onBackButtonClicked:(id)sender {

[self dismissViewControllerAnimated:YES completion:nil];
Expand Down