     }
     
     func addObserverToSearchBar() {
-        
         searchBar.rx_text
         .throttle(0.3, scheduler: MainScheduler.instance)
         .subscribeNext { text in

        tableView.rx_itemSelected.subscribeNext { indexPath in
            UIPasteboard.generalPasteboard().string = self.objects.value[indexPath.row]["link"]
            JLToast.makeText("Link Copied!").show()
        }.addDisposableTo(disposeBag)
    }
    

                .subscribeNext { self.objects.value = $0 }
                .addDisposableTo(disposeBag)
        }.addDisposableTo(disposeBag)
    }

}
