For Swift tutorial, See: Swift + XCode 6 + iOS 8 + JSON
iOS Login Screen tutorial : XCode 5 + ios 7 + Storyboard + JSON
This tutorial will guide you to create a simple app with a Login screen which takes username and password from the user and then posts it to an url and parses the JSON response.
- Create a New project.
- Create the Screens and the Segue/transition.
- Declare and Connect the properties and actions to the UI elements.
- Set actions for Background Click and text field Return events.
- Post data to URL and parse the JSON response.
1. Create a New project.
- Launch XCode.
- Click: File->New Project… and choose: Single View Application
- Name your project, here i am using ‘LoginScreenTutorial’
When you choose Single View Application, XCode creates many files for you, among which the following files are of our interest:
ViewController.h
ViewController.m
Main.storyboard
Dipin Krishna
Gokul
Manish
deep
Felipe
ilke
Paulo Cesar
Dipin Krishna
Fatimah
Dipin Krishna
HAIDER
Dipin Krishna
Meenakshi
Dipin Krishna
Ashiqur
Dipin Krishna
Giovana
Dipin Krishna
Sarbo
Matt Filer
Dipin Krishna
Alex
Pavan Kumar CH
Ben
Dipin Krishna
Justin
Dipin Krishna
Justin
Dipin Krishna
Justin
Justin
Dipin Krishna
Justin
Dipin Krishna
Andrei Popescu