CocoaLibSpotify 中的 SPSearch
我正在查看 CocoaLibSpotify,并尝试让一个简单的搜索请求正常工作。 我提出这样的请求:
SPSearch *search = [[SPSearch alloc] initWithSearchQuery:@"Adele" inSession:[SPSession sharedSession] ];
然后轮询搜索返回:
[search searchInProgress]
但我从未看到 searchInProgress 返回 NO - 即。搜索似乎从未完成。
我已经搜索了文档和示例,但它并没有帮助我理解如何正确使用 SPSearch - 肯定会欢迎这里的一些帮助...
谢谢, 伊恩
I'm looking at CocoaLibSpotify, and trying to get a simple search request working.
I make the request like this:
SPSearch *search = [[SPSearch alloc] initWithSearchQuery:@"Adele" inSession:[SPSession sharedSession] ];
And am then polling for the search to return with:
[search searchInProgress]
But I never see searchInProgress return a NO - ie. the search does not appear to ever complete.
I've searched through the documentation and examples but it hasn't helped me to understand how to use the SPSearch correctly - would definitely welcome some help here...
Thanks,
Iain
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用键值观察来观察所需属性的更改。
Use Key-Value Observing to observe changes to the properties you need.