Table View with Search Bar using UISearchController
my code see:
-
share read-only variable in AppDelegate.
https://github.com/QueenieCplusplus/iOS_Back_11/blob/main/9.%20AppDelegate.png
-
UISearchController.
https://github.com/QueenieCplusplus/iOS_Back_11/blob/main/ListALLVC.swift
-
TableView.
https://github.com/QueenieCplusplus/iOS_Back_11/blob/main/ResultDisplayVC.swift
ref for Table View:
https://itisjoe.gitbooks.io/swiftgo/content/uikit/uitableview.html
ref for Cell Id:
ref for debug, tips for "class has no initializer", which means the property in class shall define properly.