Swift Programming Tutorial: Create an App Like UBER- Part 2-Using Swift 2 Code

** Important: I noticed that I made an error in the code for registering. For the password it should be user.password = self.password.text instead of self.username.text. **

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.

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 2 you will learn how to add 2 buttons to the main video screen in code(These are UIButtons) and you will use an action to run the code that will open a new screen when the button is tapped. You will also learn how to present a new navigation controller via code which will be the view for logging in a user and registering a user. The code will determine which buttons should appear on screen depending on user input. Login & register data will be saved in parse backend which is where all of your users are stored upon registering.

In this video you will be working with the following frameworks
UIKit
Parse

In this video you will be working with the following files.
AppDelegate.swift
ViewController.swift
Main.storyboard
SignUpViewController.swift

Comments

Bruno Abrunhosa says:

Thank you so much for a great tutorials!
but when I click on signIn, the application crashes
/ Report any error we got.
var dict = [String: AnyObject]()
dict[NSLocalizedDescriptionKey] = “Failed to initialize the application’s saved data”
dict[NSLocalizedFailureReasonErrorKey] = failureReason

dict[NSUnderlyingErrorKey] = error as NSError
let wrappedError = NSError(domain: “YOUR_ERROR_DOMAIN”, code: 9999, userInfo: dict)
// Replace this with code to handle the error appropriately.
// abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
NSLog(“Unresolved error (wrappedError), (wrappedError.userInfo)”)
abort()

SIMAB SIDDIQUI says:

how much is the expense for uber or ola kind of app? how much do i have to pay you if i need that app?plz contact 9920726697

Cadaha Sanadka says:

Swift Owls thank you very much brother

annad c says:

I wrote an e-mail to you, could you please reply me there and also we are waiting for final video.

Tyler Ruby says:

Will there be a Part 3 soon? 🙂

Bout001 says:

I suppose you’d heard about parse.com and its services suspension? Would you recommend a proper BaaS as this one? Where will you move your database?

NodeFreak says:

Thank you so much for a great tutorial!

Neha Pant says:

awesome tutorial, and waiting for part 3 🙂

Sahan Sam says:

Where is the Part 3 ???? Waiting ………………………………….

erick duarte says:

Where you from?

kalyffo3 says:

excellent job!

Denver Holden says:

Do you do custom work?

Frank G says:

Thanks for these videos. How can I send you an email?

Bianca Salas says:

Dude what about part 3 🙁 ?

Thulani Sibanda says:

My cancel button doesn’t work????

Thank you very much. Brilliant tutorial. Just waiting for part 3!!!!

Quentin L'EILDE says:

hey ! great job with this tutorial ! we are waiting for part 3 soon ?

Flavio Cortes says:

great job amigo, I would like to know how apply themes in OBER app for example the buttons have a different form. I appreciate your time.

Caique Strufaldi says:

Awesome work! Any date for part 3

Bout001 says:

I’m in with the second part. Doing it right now… Expect a lot of question after I’m finished 😉

Warren Turner says:

Do we have to pay for the video part 3?

Olde English says:

When’s part 3 coming out

Greg Picard says:

Can’t wait for Part 3!

Brent Wheeler says:

I received an email saying that Parse is going to be winding down their service and discontinue all together in January 2017. Do you know of any similar service we could use instead of Parse?

PS keep up the good work – great tutorial

billy -NaruTard- willy says:

How can I contact you about couple of pre-sales questions?
Beginner coder here looking to see how functional the code from the course is.

Abhi Dutta says:

Amazing tutorial! Excited for part 3!

El Sonico says:

hey how u doing man im trying to follow this project but im getting and error right before the sign in bottom i already have the intro video looping and have my two buttons the sign in and register but when u press them xcode send me to my appdelagate file and this appeared in red — class AppDelegate: UIResponder, UIApplicationDelegate { — im stuck in there???

Jonathan LEON says:

Nice stuff here ! I’m just having a problem. The title of my SignUpViewController won’t change from Sign In to Register like you do around 45:15

I noted that the Sign In title appears on your SignUpViewController at 36:12 but you don’t explain how. Maybe I didn’t got it right from the start

EDIT : My bad, forgot to call the function DetermineSignInOrRegister

Leo John says:

this is a lot of work dude! hands down to you. thank you for doing this awesome thing, looking forward for part 3. keep it up!

Sochet In says:

I am looking for part 3. Please

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!