Iphone 搜索栏服务
我从教程中获得了以下代码:Iphone 搜索栏服务,iphone,uisearchbar,Iphone,Uisearchbar,我从教程中获得了以下代码: // Do the search and show the results in tableview // Deactivate the UISearchBar // You'll probably want to do this on another thread // SomeService is just a dummy class representing some // api that you are using to do the search NS
// Do the search and show the results in tableview
// Deactivate the UISearchBar
// You'll probably want to do this on another thread
// SomeService is just a dummy class representing some
// api that you are using to do the search
NSArray *results = [SomeService doSearch:searchBar.text];
什么是SomeService,如何下载
(我在谷歌上搜索过。)这很可能是一个演示类,你将无法在网上找到它,你必须参考同一个类教程才能获得这个类 正如评论所说 只是一个表示
因此,您找不到名为
SomeService
OK的类。你们知道搜索类吗?这是用UISearchBar搜索的。我想搜索tableview的可安装数据。请看Omar abdelhafith的答案。他说没有像SomeService
这样的类。