User login and Register/Sign up example using Swift on iOS. Video #2
Why Stack Overflow recommends it
Stack Overflow users cite it as the tutorial they were following when they hit segue, UI and legacy NSUserDefaults problems in their own login and sign-up code.
Recommended by 0 people across 0 different months, 2015 to 2020.
What it is
A 38-minute iOS tutorial by Sergey Kargopolov that builds a user login and registration screen in Swift using storyboards, segues and NSUserDefaults. It is part two of a series and was later replaced by an updated playlist.
What people said
Cites alex · 2015-10 · Stack Overflow · on “Receiver has no segue with identifier error message”
I am using xcode 7 beta and swift 2.0. I am following a tutorial ( [this video] ). In short i have a storyboard with 3 views; a protected vc, a login vc and RegisterViewController. I have set 2 segues segue modal with protected_vc <-> login_vc identified with loginView segue modal on a button in login_vc <-> RegisterViewController identified with registerView I encountered a problem when with a register button on my login vc. If i click the register button it crashes the app and i get the message 'Receiver (<registerLogin.RegisterViewController: 0x7f97235f6140>) has no segue with identifier 'loginView'' Now i notice in the tutorial selecting a segue gives another dropdown, in my case i only see p
Cites alex · 2015-10 · Stack Overflow · on “segue from a third view”
@MayankPurwar do you know how to code this in swift 2.0. I am following [this video] and i am also stuck with a register button on my login view. If i hit it it crashes the app and i get the message 'Receiver ( ) has no segue with identifier 'loginView''
Cites JTing · 2016-09 · Stack Overflow · on “BSMachError on granting access to camera”
Found the problem! The issue suddenly occurred in my new project as well, so I started debugging! While running the app I checked out the Debug View Hierarchy (the 3D snapshot function in the console menu)... [LINK] So it turned out that there was a second instance of the UI running on top of another one - This is the reason why my camera-view appeared to have frozen. Cause: I have a slide-out menu (from tutorial: [LINK] ) set in my app and had added login and registration-views (from tutorial: [this video] ) to the project. Now I found out that the second instance of the UI was created after logging into the app and thereby causing the problem. Removing the connections to the login and reg-views
Cites je2 · 2020-10 · Stack Overflow · on “In swift version 5.1.3 How is NSUserDefaults.standardUserDefaults().stringForKey used?”
Hi I am learning by watching the video. Since it was an old version, it seemed that you were using NS, but I don’t know how to use it now, so I ask Youtube video link [this video] >> 32:40 let userEmailStored = NSUserDefaults.standardUserDefaults().stringForKey("userEmail") let userPasswordStored = NSUserDefulats.standardUserDefaults().stringForKey("userPassword") In the current version, we know that you should use it without NS, but it is not used even if you subtract NS. Cannot be used [LINK] I would appreciate it if you let me know.