Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Updated TabView, added split view support (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-mcdowell authored and louisdh committed Feb 7, 2018
1 parent f852f21 commit 5dc1db8
Show file tree
Hide file tree
Showing 13 changed files with 925 additions and 327 deletions.
3 changes: 2 additions & 1 deletion OpenTerm/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import UIKit
import TabView

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
Expand All @@ -17,7 +18,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// Override point for customization after application launch.

window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = TerminalTabViewController()
window?.rootViewController = TabViewContainerViewController<TerminalTabViewController>(theme: TabViewThemeDark())
window?.tintColor = .defaultMainTintColor
window?.makeKeyAndVisible()

Expand Down
4 changes: 2 additions & 2 deletions OpenTerm/Controller/TerminalTabViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import TabView

class TerminalTabViewController: TabViewController {

init() {
super.init(theme: TabViewThemeDark())
required init(theme: TabViewTheme) {
super.init(theme: theme)

self.viewControllers = [
TerminalViewController()
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PODS:
- InputAssistant (1.0.1)
- PanelKit (2.0.1)
- SwiftLint (0.24.2)
- TabView (1.0.0)
- TabView (1.0.1)

DEPENDENCIES:
- InputAssistant (~> 1.0)
Expand All @@ -14,7 +14,7 @@ SPEC CHECKSUMS:
InputAssistant: b5ddd7fc23e38eaabdeaef115f6f7b023fb5dfc0
PanelKit: d05cecac1ab39af375b56ff21c7b5a9915a3eb5b
SwiftLint: 2aa21b96c8d13396a051bc1cb659d2ce1e0075b0
TabView: b70c80eaec8369e1c22677cf4b3c840017e10103
TabView: b8337b549e4b0f070a76cab141e258fa66e01fd1

PODFILE CHECKSUM: 9648e2227e6f08a1d380928dac90ac3cd31881db

Expand Down
4 changes: 2 additions & 2 deletions Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

486 changes: 247 additions & 239 deletions Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion Pods/TabView/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5dc1db8

Please sign in to comment.