Getting started with the Spotify iOS SDK

  Рет қаралды 11,689

Swift Arcade

Swift Arcade

Күн бұрын

In this video we look at how to incorporate the Spotify SDK into your Swift iOS app. We cover how to:
- Register a Spotify Developer App
- Create a simply iOS that connects to Spotify
- Configure the iOS app to work with Spotify
- Run on a physical device
0:00 Intro
0:42 Demo
1:25 Overview
2:43 Creating a developer app
4:10 Create new iOS app
6:38 ObjC flag
7:20 Bridge header
8:25 Info.plist
14:19 Building the app
16:44 Authorization
21:45 Physical device
🤖 Source code
github.com/jrasmusson/swift-a...
🕹 Level up further with these awesome courses
Professional iOS Development
www.udemy.com/course/the-swif...
Data Structures & Algorithms
www.udemy.com/course/the-swif...
Level Up in AutoLayout
www.udemy.com/course/level-up...
Level Up in Swift
www.udemy.com/course/level-up...

Пікірлер: 29
@rishabhmaini8200
@rishabhmaini8200 Жыл бұрын
Is it possible you make this tutorial for SwiftUI as well?
@coinmeluha5358
@coinmeluha5358 Ай бұрын
Amazing work
@natedavis7159
@natedavis7159 Жыл бұрын
Oh man am I glad I found your channel! Thank you for making this, so helpful. Also, huge props to actually giving the demo upfront, not enough people do that.
@HashemRC
@HashemRC 2 ай бұрын
The complete easy step by step walkthrough I've ever seen. thanks for amazing job.
@XxFINSIxX
@XxFINSIxX Жыл бұрын
What a great resource! thanks for sharing it
@zonever436
@zonever436 2 жыл бұрын
Thank you sooooooo much! You posted this at the perfect time. Without this I wouldn't have been able to start my final project for my junior cs class
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
You are very welcome zonever. Glad I could help.
@rehanchaudhry5263
@rehanchaudhry5263 Жыл бұрын
This video helped SO much. Thank you a ton! Was wondering why my setup wasn't working (I did not setup my info.plist properly and was missing the part where I have to send the code to Spotify in order to retrieve the access token). Your video not only solved my problems, it also taught me a lot about the process too. Very grateful I came across this video
@swiftarcade7632
@swiftarcade7632 Жыл бұрын
Great to hear Rehan. I had the same problem. Cheers!
@rohitnikam121
@rohitnikam121 8 ай бұрын
Thanks a Lott for the tutorial, I'm glad that I found you man.
@chickenduckhappy
@chickenduckhappy 8 ай бұрын
Oh, your later videos actually look nice 😎 My harsh advice must have work backwards through time 😱
@dennycad7859
@dennycad7859 2 жыл бұрын
Cool as usual😎
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Thanks Denny 🕹 :)
@FizzPlaysGames
@FizzPlaysGames 2 жыл бұрын
Great video! Super clear and easy to follow! Is there any way you can make a video on how to do table views for top artists and songs?
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Thank you Domenic. No promises. But I will see what I can do. Cheers.
@lincolnpow4355
@lincolnpow4355 Жыл бұрын
Hi, thank you for this video! I have created the application in SwiftUI format and it runs on my iPhone! I am having an issue however as once Spotify has authenticated my account I am not redirected back to my App. Just wondering if you had any ideas why this might be happening? Thanks
@elenamikhaylova5086
@elenamikhaylova5086 Жыл бұрын
thank you
@crossingc-rw2qs
@crossingc-rw2qs 8 ай бұрын
I'm a beginner to swift and find this video super helpful in explaining the process using spotify sdk. But I'm wondering if I don't want to connect to the spotify app and want to get response directly from the api using my own account, is that possible?
@nikevokey247
@nikevokey247 10 ай бұрын
dope video. what do you know about Inspector Norse!? Good taste! New Sub.
@user-fj9qb7qn5m
@user-fj9qb7qn5m 3 ай бұрын
I want to access all user playlists using ios-sdk in my app, but I can't find a way. Please tell me how to access all user playlists along with their associated song data
@user-ut4hm6dz4e
@user-ut4hm6dz4e 2 ай бұрын
I have same problem
@bluespartan6325
@bluespartan6325 Жыл бұрын
Hi I'm getting this error" Building for iOS, but the linked and embedded framework 'SpotifyiOS.framework' was built for iOS + iOS Simulator."
@microcuts01
@microcuts01 Жыл бұрын
Hi, I'm building an app with a very similar functionality to this one and almost everything works as expected. I'm having an issue though, if I have my Spotify mac app open and listening from there. My play pause button doesn't work properly if this is the case. Do you know if there's any different configuration we should follow when we chose to listen from different devices?
@swiftarcade7632
@swiftarcade7632 Жыл бұрын
Hi Micro - the interplay between devices is a real challenge, and even spotify doesn't get this 100% right.You've got computers, speakers, phones, ipads all connecting through wifi and bluetoother, and sometimes it just doesn't update right. I guess what I am trying to say is I am not surprised its a bit flakey for you, and not to expect it to work perfect. If it kind of works, that's about as good as it is going to get. Good luck!
@microcuts01
@microcuts01 Жыл бұрын
@@swiftarcade7632 Thanks for your input! Appreciate it.
@martingerup
@martingerup Жыл бұрын
Is it this feature Spotify has closed down the 1. of September 2022? There is a great blast out on Spotify forums from music teachers and musicians around the globe. I myself have used Spotify/Amazing Slow downer on a daily basis for practising my musical skills. From 1. of September I can’t connect to Spotify anymore. The inventors of this app says it’s due to a closedown of the iOS/Android streaming SDKs from Spotify. Is it this one?
@user-un9do8ey2k
@user-un9do8ey2k 8 ай бұрын
Its really strange, but i just download your app, changed your private info (cliendID & secret) and for me Auth is "X" with "unknown error has occured". Mb your solution is no longer correct, mb some shit is happens
@adriandomaradzki
@adriandomaradzki Жыл бұрын
Hello! I guess i found person who can anwser my question. Can i do something about making Spotify working on ios4.2.1 for ipod touch 2g? I mean i can even teach myself to program apps, but i just want to know is its even possible. Best regards, hoping for anwser
@TheTrainIsCominggggg
@TheTrainIsCominggggg Жыл бұрын
Hi! I have followed your wonderful tutorial, although I have stumbled across an error while trying to build the code after importing my Spotify iOS framework. Build input file cannot be found: '/Users/nj_delg/Library/Developer/Xcode/DerivedData/HelloSpotify1-bvrmrjgnnwhhrlfnmivhvsrmixpy/Build/Products/Debug-iphoneos/HelloSpotify1.app/HelloSpotify1' Xcode has mentioned that I do not have a build input file within my project folder. Any help would be appreciated. Thank you!
My number one tip for becoming a better iOS developer
6:19
Swift Arcade
Рет қаралды 24 М.
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 32 МЛН
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 26 МЛН
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 22 МЛН
iOS Dev Vs. Web Dev - My Thoughts After Building My First iOS App
3:54
Your Average Tech Bro
Рет қаралды 61 М.
Getting Started with Spotify API (Complete Overview)
24:02
Imdad Codes
Рет қаралды 116 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
How I would start iOS Development in 2024
10:23
Flo writes Code
Рет қаралды 18 М.
How To Work With Any API (API Tutorial using URL Requests)
27:07
CodeWithChris
Рет қаралды 123 М.
Super Power Scroll Views - SwiftUI - iOS 17
9:14
Sean Allen
Рет қаралды 21 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 693 М.
Making it Rain - Advanced Special Effects with SwiftUI
29:16
Paul Hudson
Рет қаралды 13 М.
How to Make an App in 8 Days (2024) - Full Walkthrough
3:00:49
CodeWithChris
Рет қаралды 507 М.
WWDC23: What’s new in SwiftUI | Apple
34:03
Apple Developer
Рет қаралды 47 М.
Apple watch hidden camera
0:34
_vector_
Рет қаралды 41 МЛН
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 6 МЛН