In line with other messaging apps, we intentionally don't show a "No Results"
cell. We simply don't display any cells. Though we could easily modify this in
the future.
// FREEBIE
@ -150,6 +158,8 @@ class ConversationSearchViewController: UITableViewController {
}
}
switchsearchSection{
switchsearchSection{
case.noResults:
returnnil
case.conversations:
case.conversations:
ifsearchResultSet.conversations.count>0{
ifsearchResultSet.conversations.count>0{
returnNSLocalizedString("SEARCH_SECTION_CONVERSATIONS",comment:"section header for search results that match existing conversations (either group or contact conversations)")
returnNSLocalizedString("SEARCH_SECTION_CONVERSATIONS",comment:"section header for search results that match existing conversations (either group or contact conversations)")