This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let btnBack = UIBarButtonItem(title: "", style: .Plain, target: self, action: nil) | |
self.navigationController?.navigationBar.topItem?.backBarButtonItem = btnBack | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hide the title for Back Button in Navigation Controller | |
self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
destinationController.hidesBottomBarWhenPushed = YES; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.contentViewController.view.superview.backgroundColor = [UIColor clearColor]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
matchQueue = dispatch_queue_create("com.nuevatel.WorldCupApp", NULL); | |
dispatch_async(matchQueue, ^{ | |
DashBoardResponse *dash = [WSManager getDashBoard]; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void) backgroundParallaxEffect { | |
// Set vertical effect | |
UIInterpolatingMotionEffect *verticalMotionEffect = | |
[[UIInterpolatingMotionEffect alloc] | |
initWithKeyPath:@"center.y" | |
type:UIInterpolatingMotionEffectTypeTiltAlongVerticalAxis]; | |
verticalMotionEffect.minimumRelativeValue = @(-10); | |
verticalMotionEffect.maximumRelativeValue = @(10); | |
// Set horizontal effect |
NewerOlder