Skip to content

Commit

Permalink
Drop iOS 12 (#398)
Browse files Browse the repository at this point in the history
* settings

* library

* search

* BuildingBlocks

* RootViewController

* BarButtons

* WebViewController

* SidebarController

* AppDelegate & SceneDelegate

* project

* lint
  • Loading branch information
automactic authored Sep 15, 2021
1 parent 8328c6b commit c55bbe0
Show file tree
Hide file tree
Showing 36 changed files with 102 additions and 3,028 deletions.
3 changes: 2 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
disabled_rules:
- trailing_whitespace
included:
- iOS/Controller/Library/LibraryViewController.swift
- iOS/Controller/LibraryViewController.swift
- iOS/Controller/SettingsViewController.swift
138 changes: 36 additions & 102 deletions Kiwix.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions iOS/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, DirectoryMonitorDelegate
) -> Bool {
Realm.Configuration.defaultConfiguration = Realm.defaultConfig

if #available(iOS 13.0, *) {} else {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = UINavigationController(rootViewController: RootViewController())
window?.makeKeyAndVisible()
}

print("Document Directory URL: \(URL.documentDirectory)")

DownloadService.shared.restorePreviousState()
Expand Down
226 changes: 0 additions & 226 deletions iOS/Controller/Library/LibraryCategoryController.swift

This file was deleted.

77 changes: 0 additions & 77 deletions iOS/Controller/Library/LibraryController.swift

This file was deleted.

Loading

0 comments on commit c55bbe0

Please sign in to comment.