Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Make new deployment target iOS 11.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlwimi committed Aug 16, 2017
1 parent ff85e39 commit e325d55
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions MajorInput/AppNavigationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ final class AppNavigationController: UINavigationController {
self.shelfDidSelect(session)
}
}

override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
shelf.downcastView.collection.contentInset =
.init(top: topLayoutGuide.length + navigationBar.frame.height, left: 0, bottom: 0, right: 0)
}
}

fileprivate extension AppNavigationController {
Expand Down
1 change: 0 additions & 1 deletion MajorInput/MajorInputViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ final class MajorInputViewController: UIViewController, ViewDowncasting {
extension MajorInputViewController { // ViewInitializing
override func configure() {
title = "\(session.conference.rawValue) \(session.year) | \(session.number) | \(session.title)"
automaticallyAdjustsScrollViewInsets = false

playerView.setShowsOverlay(false)

Expand Down
2 changes: 1 addition & 1 deletion MajorInput/ShelfView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ extension ShelfView { // ViewInitializing
}

override func activateDefaultLayout() {
collection.edgeAnchors == self.edgeAnchors
collection.edgeAnchors == safeAreaLayoutGuide.edgeAnchors
}
}
1 change: 0 additions & 1 deletion MajorInput/ShelfViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ final class ShelfViewController: UIViewController, ViewDowncasting {
extension ShelfViewController { // ViewInitializing
override func configure() {
title = "MajorInput"
automaticallyAdjustsScrollViewInsets = false

downcastView.collection.dataSource = self
downcastView.collection.delegate = self
Expand Down

0 comments on commit e325d55

Please sign in to comment.