Archived
Implemented colour picker, TODO: change plan cell colour to selected colours, make CollectionView refresh on colour picked, change selection visualisation in colour picker
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// CustomTabBarController.swift
|
||||
// AvH Plan
|
||||
//
|
||||
// Created by Deniz Duezgoeren on 19.07.19.
|
||||
// Copyright © 2019 Deniz Duezgoeren. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class CustomTabBarController: UITabBarController {
|
||||
|
||||
let prefs = UserDefaults.standard
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
self.selectedIndex = prefs.integer(forKey: "default-plan")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user