首页添加格式化笔记入口并跳转空白页面
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
//
|
||||||
|
// FormatNoteViewController.swift
|
||||||
|
// Note
|
||||||
|
//
|
||||||
|
// Created by fish on 2026/7/12.
|
||||||
|
//
|
||||||
|
|
||||||
|
import UIKit
|
||||||
|
|
||||||
|
class FormatNoteViewController: UIViewController {
|
||||||
|
|
||||||
|
override func viewDidLoad() {
|
||||||
|
super.viewDidLoad()
|
||||||
|
title = "格式化笔记"
|
||||||
|
navigationItem.largeTitleDisplayMode = .never
|
||||||
|
view.backgroundColor = .systemBackground
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -91,6 +91,9 @@ extension ViewController: UITableViewDelegate {
|
|||||||
case "格式化日志":
|
case "格式化日志":
|
||||||
let viewController = FormatLogViewController()
|
let viewController = FormatLogViewController()
|
||||||
navigationController?.pushViewController(viewController, animated: true)
|
navigationController?.pushViewController(viewController, animated: true)
|
||||||
|
case "格式化笔记":
|
||||||
|
let viewController = FormatNoteViewController()
|
||||||
|
navigationController?.pushViewController(viewController, animated: true)
|
||||||
default:
|
default:
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user