mirror of
https://github.com/wahyd4/libr-ios.git
synced 2026-08-09 13:16:32 +10:00
44 lines
1.3 KiB
Swift
44 lines
1.3 KiB
Swift
//
|
|
// RootViewController.swift
|
|
// librx
|
|
//
|
|
// Created by Yunlong Zheng on 15/9/19.
|
|
// Copyright (c) 2015年 librx. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import RESideMenu
|
|
|
|
class RootViewController: RESideMenu, RESideMenuDelegate{
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
|
|
// Do any additional setup after loading the view.
|
|
}
|
|
|
|
override func awakeFromNib() {
|
|
|
|
self.menuPreferredStatusBarStyle = UIStatusBarStyle.LightContent
|
|
self.contentViewShadowColor = UIColor.blackColor()
|
|
self.contentViewShadowOffset = CGSizeMake(0, 0)
|
|
self.contentViewShadowOpacity = 0.6
|
|
self.contentViewShadowRadius = 12
|
|
self.contentViewShadowEnabled = true
|
|
|
|
self.contentViewController = (self.storyboard?.instantiateViewControllerWithIdentifier("TabbarContentViewController"))! as UIViewController
|
|
|
|
}
|
|
|
|
/*
|
|
// MARK: - Navigation
|
|
|
|
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
|
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
|
|
// Get the new view controller using segue.destinationViewController.
|
|
// Pass the selected object to the new view controller.
|
|
}
|
|
*/
|
|
|
|
}
|