
Install and set up Xcode on a Mac, configure iOS simulators in Xcode, download additional simulators, and create a device, with notes on Apple developer accounts for real devices.
Free servers are everywhere but they are overcrowded. It's always better to opt for a paid server over which you have much more control. The good news is you can get for less than $5 per month (includes a domain). If you intend to develop apps in the future then having your own test server is a really good idea!
The next sections are labelled one or two. Choose the most appropriate one for your use case.
Join the free plan at triple 0 web host dot com, follow setup instructions, and use the free control panel; for premium hosting, watch a subsequent video with recommended providers.
Choose SiteGround's startup plan for 10 GB web space, unlimited traffic, daily backups, and a free domain, then sign up and prepare to configure your server with cPanel in lectures.
Develop and test a music backend by uploading tracks to a server via cPanel file manager, creating public_html access, and verifying playback to support a streaming app.
Learn how to automate a php script with cron, using cPanel, to run a music scan script on a schedule and optimize resource usage.
Compare free and paid servers, then use cPanel to upload files, create a music database, index MP3s with a PHP script, and automate with cron on Linux.
We also disable app transport security to allow loading of our music
Inside of ViewController.swift you will create the simplest music streaming function known to man!
Learn to build a bottom media bar in storyboard, add a play/pause button with image assets, and constrain it across devices using leading, trailing, bottom constraints.
Enable background audio and implement lock screen controls by configuring the info.plist, setting the audio session to playback, and becoming first responder to handle remote control events.
Create a file to retrieve music from a remote database, fetch data via web calls, build a song model with name, id, likes, and plays, and display a songs list.
Create a PHP interface to MySQL to fetch the music list using get_music.php that connects to the database, queries the music table by id desc, and outputs the results.
Define a song class to store downloaded items, including id, name, likes, and plays, with an initializer that converts incoming string data to integers and accessor methods for each property.
Parse a retrieved string into an array of songs by splitting on the star delimiter, mapping items to song objects, and printing names after retrieval.
Fetches data from a database using a php interface, retrieves data through in-app NSURLConnection, and stores each song in a Song class to build the list.
Develop a functional music player that starts an mp3 when a list item is selected, using didSelectRowAtIndexPath to trigger playback, and display the now playing track name in a label.
Remove the trailing .mp3 from song names by trimming the last four characters in the view controller's swift file and updating the cell label; optionally add a getCleanName method.
Add an artist column to the music database, extract artist names from ID3 tags, and update the app to display artist information with a new label in the UI.
Report the number of plays to a database to satisfy streaming license requirements and keep track of plays for music licensing.
Add artist information to tracks by including it in track name, update the index to store it in the remote database, and report plays for statistics and licensing.
Add a plus-one like button that updates the database and a share to Facebook feature with prefixed text, a thumbnail, and a download link for marketing when a song plays.
Add a like button beside the play bar, wire its action to increment the current song's like count via a php script, track the current id, and update the database.
Learn to make apps social by implementing liking and sharing, including liking a track in your own database and sharing via the ios compose view to Facebook.
Charge upfront only for apps likely to gain traction; offer free downloads to grow users. Monetize with Amazon affiliates, in-app ads, and paid play extensions (100 plays for 79p).
Encourage learners to leave a five-star review and reveal a special nine-dollar offer on two other courses: iOS app development from beginner to published and Android beginner to published.
Music is one of the biggest app categories across all app stores. They have the potential to earn substantial revenue.
Learn the basic concepts, tools, and functions that you will need to build fully functional iOS music streaming apps with the popular programming language, Swift 2. Also learn how to set up your own server and upload music that your app will eventually play.
Things You'll Learn
Powerful Skills at Your Fingertips
By learning to create both iOS apps as well as PHP and MYSQL backends you will become incredibly valuable to potential employers. Combining these 2 skills is the number one reason developers get hired for startups. Those startups need this information and are willing to pay for it!
------------BONUS-----------
Not only do you learn the ins and outs of streaming music in iOS apps but this course includes a MASSIVE bonus. I teach you how to create and setup a fully functional server that does the following:
------------------------------------
Content and Overview
No knowledge is needed of programming for this course but it helps. If you are a complete beginner then please take my other course (iOS Apps for Complete and Utter Beginners) FIRST.
You will be taken on a journey through:
This course establishes a strong understanding of music app creation concepts and includes training on Xcode and Swift 2. It also includes training on MYSQL, PHP and cPanel. Each chapter starts with an introduction and sounds out with a summary to help you learn even better.
With these skills mastered, the course will take you through how to create a backend for your app (as well as the front end!). Complete this course and you'll discover you now have skills that are continuously in demand from most businesses.
Increase your value by joining now!
Credit: Promo music provided by Ben Sound