期末APP
(一)gif

(二)github
(三)APP Screenshot




(四)Work Description
Hi, i have created an APP that called Black Eyed Peas app. The Black Eyed Peas is an famous american musical group that have created a lot of songs. And my app have a list of all songs that have been created by this group. Also, it can shows their itunes profiles and search the info about them in google.
So, i have 3 tabs that called Songs, Itunes Profile, and Info. I use TabView to get that 3 tabs. On the Songs tab, you can see the list of their song and if you tap on the song, you can heard the music. When you the music is playing, you can see the album picture and if you hold it, you can see their itunes profile. That can be hold because i already add gesture that called onLongPressGesture. And on the info bar, i already add a button and when you tap on it, it will be jump to google search and search about them. I used WKWebView that included UIViewRepresentable fuction. So there will be a sheet to view the google website.
I get the list of their songs from the itunes and i use itunes API to get it. So, with the API, i can get the songs and play the trailer song if you tap on the list. The advantage of using API is you can automaticly update the songs if there is update from the itunes music. So, you don’t need to update the song manually. And this is how i am using the API:


If you want to get the other singer, you can just change the name of the singer on the API url. So, this API is quite easy to use.
There is a problem when loading the itunes profile. It can’t load the profiles perfectly if you use the mobile version of the itunes music website. So, you must choose the desktop version when loading the itunes website to load the web perfectly. And the second, the first url i have set on the song is “I gotta feeling”. So any song that you tapped first will be “I gotta feeling”. After first tap, you can select any song correctly.
(五)appetize.io link
And this is my final project, thank you very much!