大きくは UIViewController の処理(Lifecycle methods)、UITableView 向けのデータソース/デリゲート、検索絞り込み、UISearchDisplayControllerのデリゲートから構成されている。 気になった部分をピックアップしてみる。 まず viewDidDisapear - (void)viewDidDisappear:(BOOL)animated { // save the state of the search UI so that it can be restored if the view is re-created self.searchWasActive = [self.searchDisplayController isActive]; self.savedSearchTerm = [self.searchDisplayCon
![Cocoaの日々: UISearchDisplayController 調査](https://cdn-ak-scissors.b.st-hatena.com/image/square/c4a2903e5ab056cff53166f3b0fd008195cc0237/height=288;version=1;width=512/http%3A%2F%2F3.bp.blogspot.com%2F_ZoUhefzk0CI%2FTEZgpMwS7PI%2FAAAAAAAAFG4%2F3tgydJigaIQ%2Fs320%2F100721-0012.png)