Xcode iPhone SDK (5.x) - CocoaLibSpotify iOS, Loading and Viewing playlists - spotify

iOS Spotify API.
I read the documentation on the browse.m example which seems to contain what i am looking for.
But i really don't know how to use it.
When the list of the playlists is called how do i display it in a UITableView ?
If i could joust get started i can probably figure out and accomplish what i want.
So basically i need a "kickstart" help code, and i'll be on my way (Figure of speech).
( Btw, yes i have the AppKey.c needed and i successfully #imported the API)

See the sample projects included with CocoaLibSpotify for a general idea on how to interact with the library.
As for displaying playlists, well, playlists are stored in an NSArray and each have a name property, etc, so you'd put them into a table view just like you would any other list of data in the iOS SDK.

Related

Is there any library available in Xamarin forms for Token Input view?

I want multiple strings to be added and deleted in a view. I can achieve this by using native libraries.
Native iOS: CLTokenInputView-Swift-master
Native android: TokenAutoComplete-master
I want to implement this in Xamarin forms for both iOS and android. Is there any way to achieve this? Or any library files available?
I think what you are looking for is something like the TagEntryView. It may not do everything you want but it is open-source so maybe you could get the important parts out of there and customize it as you like.

How to develop Spotify Desktop Applications, now Libspotify is discontinued

have done my due diligence, and not found any other posts that answer this question, but as usual, if you know a similar question, point me that way!
I noticed a long time back that Libspotify has been dicontinued:
(https://developer.spotify.com/technologies/libspotify/)
So, my question is - what should we do for developing Desktop applications?
They do state: "We hope to be able to provide you with a new library for other platforms." But, this has been going on since 2015!
I have seen many projects in GitHub still using Libspotify - so what should we do? An update was promised "in the upcoming months" but I've not seen anything yet.
What should we do for developing Desktop Applications?
We at Spotify don't currently provide playback as part of our platform offering outside of our iOS and Android SDKs, and I don't have any updates on that at the moment. As mentioned on the website, we hope to be able to provide playback SDKs for more platforms in the future. We don't support any new development on libspotify.
You can use the Spotify Web API to interact with Spotify in a variety of ways, including getting information about metadata, and accessing/modifying user libraries and playlists, which may be useful. You can also use the Applescript API to control playback on macOS, which may also help.
The Spotify Web API is pretty straight forward to use. Of course it defines the protocol rather than implements it so it is OS independent.
I put together a few classes to help unwrap some of the JSON parameters simply. These were written in Swift for macOS.

Chrome: Google Cast Retrieve Available Device List

I worked with the pre-release SDK before the official SDK was released. Before I could retrieve a list of devices and display them however I wanted. For example, Google Music still has this functionality.
With the official release, is there any other way, besides having the Chromecast Extension popup with the list, to show available devices? I've been searching the documentation for an answer with no results.
Thanks!
No, the functionality is now handled by the extension to make it more uniform across all apps that use this feature, and to avoid confusion as to what the cast icon is in the chrome itself on the top right and what is the cast icon inside the player. Now both provide the same functionality if you are within a cast-enabled app.

Embedding Playlist in Spotify App with HTML5

I'm sorry if this question has already been asked, but how do you get a playlist to show up inside an index.html for a Spotify App? I've looked all over, and I couldn't find a clear way to do this. I consulted the api-tutorial app and I tried looking over the API Docs. Am I just missing it? I experimented with but that didn't work either.
Also, aside from that, is there a way for only single tracks from the app user's library be dragged into a box to be added to the displayed playlist in real time? Or at least dragged into the box and the data be populated in some type of playlist in my personal profile at least? Or otherwise?
Thanks very much for your help!
Edit: My mistake. Looking at the documentation for Spotify Apps API, the Player class has the property track which gives the current playing track. The above URL shows how to use the observer interface to be notified when it changes.

Present spotify playlists as xml

I was wondering if it's possible to present spotify playlists as xml without using services like libspotify.
They have to functions "lookup" and "search" for web developers but they don't seem to present data as xml for playlists.
Is there in some way possible to present this?
Thankful for some help :)
In short: no, this isn't possible.

Resources