         let messages: [Message]
     }
     private var filteredUserMessages: [UserMessages]?
-
-//    private lazy var messages: Results<Message> = {
-//        return self.realm.objects(Message)
-//    }()
-//    private var filteredMessages: [Message]?
 
     private lazy var feeds: Results<Feed> = {
         return self.realm.objects(Feed)

                }
                cell.configureWithUserMessages(userMessages, keyword: keyword)
            }
//            guard let
//                message = filteredMessages?[safe: itemIndex],
//                cell = cell as? SearchedMessageCell else {
//                    return
//            }
//
//            cell.configureWithMessage(message, keyword: keyword)

        case .Feed:
            if itemIndex < (isMoreFeedsFold ? Section.maxNumberOfItems : countOfFilteredFeeds) {

        guard !searchText.isEmpty else {
            filteredFriends = nil
            filteredUserMessages = nil
            filteredFeeds = nil

            updateResultsTableView(scrollsToTop: true)
