Added testing menu, made layout changes, optimised DataFetcher.swift, removed Alamofire dependency

This commit is contained in:
Deniz Duezgoeren
2019-10-13 16:53:08 +02:00
parent 882c6acecc
commit f34392041f
59 changed files with 3865 additions and 10543 deletions
@@ -36,6 +36,11 @@ class CoursePickerViewController: UIViewController, UICollectionViewDataSource,
self.collectionView.delegate = self
self.collectionView.dataSource = self
if !self.df.hasHomeButton() {
self.collectionView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 34, right: 0)
}
NotificationCenter.default.addObserver(self, selector: #selector(loadList), name: NSNotification.Name(rawValue: "load"), object: nil)
}