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
Use Key-Value Observing to observe changes to the properties you need.