Brutally fixed the searchBar related UI bug by tableView.contentInset = UIEdgeInsets.zero in searchBarCancelButtonClicked and self.automaticallyAdjustsScrollViewInsets = false in viewDidLoad
Tagging function is not complete. Only the following functions are written (Ignore them in merging)
extractMessageTag() (a function that returns a list of tags given a string)
fetchMessageTag() (a function that returns a mapping from tags to tagCount
Added searching
searchRequest
to filter selected data from the disksearchController
and set thetableViewController
assearchResultsUpdater
UISearchResultsUpdating
methodfunc updateSearchResults
tableViewController
assearchBar.delegate
func searchBarCancelButtonClicked
tableView.contentInset = UIEdgeInsets.zero
insearchBarCancelButtonClicked
andself.automaticallyAdjustsScrollViewInsets = false
inviewDidLoad