 import UIKit
 import RealmSwift
 import Ruler
+import KeyboardMan
 
 class ContactsViewController: BaseViewController {
 

        return searchController?.active ?? false
    }

    private let cellIdentifier = "ContactsCell"

    private lazy var friends = normalFriends()

            }
        }

        keyboardMan.animateWhenKeyboardAppear = { [weak self] _, keyboardHeight, _ in
            println("self?.contactsTableView.contentInset.bottom: \(self?.contactsTableView.contentInset.bottom)")
            self?.normalContactsTableViewContentInsetBottom = self?.contactsTableView.contentInset.bottom
            self?.contactsTableView.contentInset.bottom = keyboardHeight
        }

        keyboardMan.animateWhenKeyboardDisappear = { [weak self] _ in
            if let bottom = self?.normalContactsTableViewContentInsetBottom {
                self?.contactsTableView.contentInset.bottom = bottom
            }
        }

        #if DEBUG
            //view.addSubview(contactsFPSLabel)
        #endif
    }

