I’m using the swift programming language in this series of tutorials to code a mobile iphone application like the Uber app. I’m using swift 2 which will be great for you to watch and learn from me coding a real live iPhone application.
In part 1 you will learn how connect your app to parse, which will be the backend for all of our data. You will also learn how to create a video background which is very inviting for the end user and is displaying when you open the Uber app. The video background is displayed using the AVPlayer class and is set to loop so that the video constantly repeats. After the video background is displayed you will add the title text on top of the video as you see in the Uber app. In our case the text displayed will be labeled Ober which will be the name of our iphone application. We will be adding the UILabel fully in code for this tutorial.
You will go to parse.com, register, and download the required frameworks that need to be imported in xcode to allow you to connect to the parse backend. Once you’re connected to parse, you can utilize the frameworks functions to store data on parse via your iphone applications. Utilizing parse as a backend allows you to create apps very quickly and efficiently. Since your data will be on parse, you will be able to make changes to data while your app is in the app store without re-submitting the application as an update.
In this video you will be working with the following frameworks
In this video you will be working with the following files.
In this video(part 1) You will get to dive into the swift programming language by creating 3 functions, 2 of which will accept parameters.
The accepted parameters will be a UIView and NSNotification.
You will work with viewDidLoad() function, NSUrl, NSBundle, AVPlayer, Frames, AVLayers, NSNotificationCenter, Observers, Selectors, AVPlayerItem, UILabel, UIColor, UIFont, Subviews.
If you’re a new coder, you will be introduced to concepts such as variables, constants, and functions. You will also get to create a function which accepts a parameter and then you will pass an object into the function when the function is used.
When you create a function, you add code to that function and then you can run that function anywhere in the iphone application. Once the function is called within the app, the code will run that is inside of the function.
Swift parameters have names and can be accessed inside a function so that when you pass the parameter in, code will use the data that is passed in.For example, In the app, I create a function which accepts a UIView as a parameter. A UIView is a view in your application and you can make changes to the UIView in the function. When you pass in a view somewhere else in code, those changes that you made on the view will be set for the passed in view.
Don’t forget to subscribe to our Channel, Click the link below to join our mailing list to get notified when we add the next video in this 4 part email series.
Additional Information and Resources that will help you:
Learn more about UILabel:
Learn more about AVKit:
Learn more about AVFoundation:
Register at Parse for backend:
Learn more about NSURL:
Learn more about NSBundle:
Learn more about UIColor:
Learn more about UIFont:
Learn more about NSNotificationCenter:
Learn more about AVPlayer:
Learn more about AVPlayerItem:
Learn more about UIView: