Skip to content

Commit

Permalink
Quick fix to enable adding CBDViewController via Storyboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Gödecke committed Nov 19, 2015
1 parent a73afb2 commit bd29578
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CardboardSDK/CBDViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,16 @@ @implementation CBDViewController

@dynamic view;

// Call designated initializer for Storyboard
- (id)initWithCoder:(NSCoder *)decoder
{
// Need to add this in order to make the tabbar icon work properly
if(self = [super initWithCoder:decoder]) {

}
return self.init;
}

- (id)init
{
self = [super init];
Expand Down

0 comments on commit bd29578

Please sign in to comment.