userPlaylists returns empty

im working on a Spotify IOS app and i've been trying to get the users's playlists using [[SPSession sharedSession]userPlaylists]

Most of the times, it doesn't return any playlists, occasionally, it does return all the playlists. I am logged in correctly since [[SPSession sharedSession] starredPlaylist] and [[SPSession sharedSession] inboxPlaylist] always return the playlist Anyone have any idea whats going on?


Everything in CocoaLibSpotify is asynchronous — you'll need to wait until the loaded property of userPlaylists returns YES before the playlists property contains anything useful, and each playlist contained within has a loaded property that is set to YES when the playlist's name and track listing has been loaded.

All properties in the playlist stack (and elsewhere in CocoaLibSpotify) are Key-Value Observing compliant. The best approach is to observe the properties you're interested in, then react when they're set.

Need Your Help

Degrading jquery gracefullly in drupal when no javascript available. Ideas?

javascript jquery drupal views

I would like my button in Drupal to degrade gracefully when javascript is not available by directing the user to the full node.

how to set Tortoise svn-property for a folder to apply to all new files inside

svn version-control properties tortoisesvn

Usually we need to set following properties to files which we commit in our repository using Tortoise subversion

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.