This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
avh-plan-ios/AvH Plan/GeneralPlanViewController.swift
T

37 lines
955 B
Swift

//
// GeneralViewController.swift
// AvH Plan
//
// Created by Deniz Duezgoeren on 16.07.19.
// Copyright © 2019 Deniz Duezgoeren. All rights reserved.
//
import UIKit
class GeneralViewController: PlanViewController {
@IBAction func customize(_ sender: UIBarButtonItem) {
if let s = storyboard?.instantiateViewController(withIdentifier: "Customize") as? CustomizationViewController {
self.present(s, animated: true)
}
}
override func viewDidLoad() {
super.viewDidLoad()
self.navigationController?.navigationBar.topItem?.title = NSLocalizedString("avh_plan", comment: "")
}
override func getViewType() -> String {
return "plan"
}
override func getRefreshViewString() -> String {
return NSLocalizedString("fetch_plan", comment: "")
}
override func getFromDatabase() -> [SubstModel] {
return df.getFromDatabase()
}
}