SlideShare a Scribd company logo
iOS Programming
Objective C + iOS
Profile
Ankit Desai
 Ph.D. Scholar, IET, Ahmedabad University
 Education: M. Tech. CE, B.E. I. T.
 Experience: 7.5 Years (Academic and Research)
 Research Interest: IoT, Big Data Analytics,
Machine Learning, Data Mining.
Mobile app development
 Android
 Windows
 iOS
 Blackberry
 Bada
 j2me
Mobile app development
Platforms/IDE
 Android Studio (java) (Android apps)
 Appcelerator studio (HTML Scripting) (iOS, Win, Android…)
 PhoneGap (HTML Scripting) (iOS, Win, Android…)
 WinDev Mobile (…) (Win, iOS, Android)
 iOS sdk (Objective C) (iOS Programming)
 Eclipse and netbeans (java) (Android)
 Unity3D (java) (Mobile gaming)
 Java ME SDK (java) (J2ME)
 No Programming Required (TheAppBuilder.com, Other Web)
Platform Information
 iOS Programming requirements
 Macintosh Operating System (OS Lion and above)
 Xcode IDE
 Knowledge of Objective C Programming/Swift
Language
 Explain Xcode IDE operations
Objective C - Class Declare
Objective C – Class Impl.
Objective C – main.m
iOS App Development
 App Logo / App Icon
 App Splash Screen
 App Orientation
App icon
Splash Screen
Increase screen time
[NSThread sleepForTimeInterval:5.0];
Add above line in viewController.m:
- (void)viewDidLoad
{
[NSThread sleepForTimeInterval:5.0];
[super viewDidLoad];
}
Only Portrait
Login Demo
 Create GUI
 3 Labels,
 2 Text Box,
 1 Button
Create Properties and
Actions
 Ctrl + click + drag in to viewcontroller.h
@synthesize
@synthesize uname,passwd;
Add above line into viewcontroller.m below
@implementation com_abc_demoViewController
@synthesize uname,passwd;
…
Code Method onClick()
Change password property
 For secure password and for multiple types of
keyboard input
 Also see placeholder property of both textboxes
Secure, place holder &
keyboard type property
Get rid of keyboard
add new methods
Adding delegate
Which button is clicked?
 Change UIAlertView delegate from nil to self.
 Add handler for determining which button is
clicked?
Adding self delegate
UIAlertView *success = [[UIAlertView alloc]initWithTitle:@"Welcome"
message:uname1 delegate:self cancelButtonTitle:@"cancle"
otherButtonTitles:@"ok", nil];
[success show];
Adding new method
 Get the prototype from UIAlertView Class and
add following code in body part.
- (void)alertView:(UIAlertView *)alertView
clickedButtonAtIndex:(NSInteger)buttonIndex{
if(buttonIndex == 0){
self.view.backgroundColor = [UIColor redColor];
}
else if(buttonIndex == 1){
self.view.backgroundColor = [UIColor greenColor];
}else{
self.view.backgroundColor = [UIColor blueColor];
}
}
Deployment of App
 Add app bundle id in to website.
 Create an archive (.ipa)
 Install archive on device
Further source of reading
1. Youtube channel (thenewboston) iOS Series
videos
2. Youtube channel (thenewboston) Objective C
Series videos
3. O’relly publication’s book on iOS programming
4. iOS SDK page on developer.apple.com
Thank you
 For further communication or queries:
 Contact me:
 desaiankitb@gmail.com
 www.fb.com/desaiankitb
MCQ’s
Q1
 What is swift?
1. Programming language
2. Framework
3. Another name of iOS8
4. None of above
MCQ’s
A1
 What is swift?
1. Programming language
2. Framework
3. Another name of iOS8
4. None of above
Q2
 What is bundle identifier in iOS applications?
1. It’s a unique identifier for an iOS application.
2. It identifies iOS app on a computer
3. It is used for setting appicons
4. It is used for setting app’s splash screens
A2
 What is bundle identifier in iOS applications?
1. It’s a unique identifier for an iOS application.
2. It identifies iOS app on a computer
3. It is used for setting appicons
4. It is used for setting app’s splash screens
Q3
 Find correct way to access method in objective
c.
1. [x method-name:para1:para2];
2. x.method-name(para1,para2);
3. x->method-name:para1,para2;
4. x->method-name(para1,para2);
A3
 Find correct way to access method in objective
c.
1. [x method-name:para1:para2];
2. x.method-name(para1,para2);
3. x->method-name:para1,para2;
4. x->method-name(para1,para2);
Q4
 Create object syntax in Objective C is:
1. ClassName ob = new ClassName();
2. ClassName *ob = new ClassName();
3. ClassName *ob = [[ClassName alloc]init];
4. ClassName ob = [[ClassName alloc]init];
A4
 Create object syntax in Objective C is:
1. ClassName ob = new ClassName();
2. ClassName *ob = new ClassName();
3. ClassName *ob = [[ClassName alloc]init];
4. ClassName ob = [[ClassName alloc]init];
Q5
 What is @synthesize?
1. Used to create properties.
2. Used to create getters and setters on given
property
3. Used to create synthetic objects
4. Used to allocate memory to class variables.
A5
 What is @synthesize?
1. Used to create properties.
2. Used to create getters and setters on given
property
3. Used to create synthetic objects
4. Used to allocate memory to class variables.
Presentation1 password

More Related Content

Viewers also liked

Presentation5 picker view
Presentation5 picker viewPresentation5 picker view
Presentation5 picker view
Ankit Desai
 
Presentation6 ui image_view
Presentation6 ui image_viewPresentation6 ui image_view
Presentation6 ui image_view
Ankit Desai
 
Presentation7 segment control
Presentation7 segment controlPresentation7 segment control
Presentation7 segment control
Ankit Desai
 
java code and document security
java code and document securityjava code and document security
java code and document security
Ankit Desai
 
Java RMI
Java RMIJava RMI
Java RMI
Ankit Desai
 
Java Networking
Java NetworkingJava Networking
Java Networking
Ankit Desai
 
java drag and drop and data transfer
java drag and drop and data transferjava drag and drop and data transfer
java drag and drop and data transfer
Ankit Desai
 
Java Beans
Java BeansJava Beans
Java Beans
Ankit Desai
 
java Jdbc
java Jdbc java Jdbc
java Jdbc
Ankit Desai
 
JDBC
JDBCJDBC
java swing programming
java swing programming java swing programming
java swing programming
Ankit Desai
 

Viewers also liked (11)

Presentation5 picker view
Presentation5 picker viewPresentation5 picker view
Presentation5 picker view
 
Presentation6 ui image_view
Presentation6 ui image_viewPresentation6 ui image_view
Presentation6 ui image_view
 
Presentation7 segment control
Presentation7 segment controlPresentation7 segment control
Presentation7 segment control
 
java code and document security
java code and document securityjava code and document security
java code and document security
 
Java RMI
Java RMIJava RMI
Java RMI
 
Java Networking
Java NetworkingJava Networking
Java Networking
 
java drag and drop and data transfer
java drag and drop and data transferjava drag and drop and data transfer
java drag and drop and data transfer
 
Java Beans
Java BeansJava Beans
Java Beans
 
java Jdbc
java Jdbc java Jdbc
java Jdbc
 
JDBC
JDBCJDBC
JDBC
 
java swing programming
java swing programming java swing programming
java swing programming
 

Similar to Presentation1 password

Ios - Introduction to platform & SDK
Ios - Introduction to platform & SDKIos - Introduction to platform & SDK
Ios - Introduction to platform & SDK
Vibrant Technologies & Computers
 
iOS,From Development to Distribution
iOS,From Development to DistributioniOS,From Development to Distribution
iOS,From Development to Distribution
Tunvir Rahman Tusher
 
Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)
Fafadia Tech
 
CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19
Gobinath Subramaniam
 
iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)
David Truxall
 
MOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app developmentMOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app development
anistar sung
 
iOS Automation Primitives
iOS Automation PrimitivesiOS Automation Primitives
iOS Automation Primitives
Synack
 
Owasp orlando, april 13, 2016
Owasp orlando, april 13, 2016Owasp orlando, april 13, 2016
Owasp orlando, april 13, 2016
Mikhail Sosonkin
 
Titanium Appcelerator - Beginners
Titanium Appcelerator - BeginnersTitanium Appcelerator - Beginners
Titanium Appcelerator - Beginners
Ambarish Hazarnis
 
ARabia hossain project report.pdf
ARabia hossain project report.pdfARabia hossain project report.pdf
ARabia hossain project report.pdf
ArabiaHossain
 
Hello world ios v1
Hello world ios v1Hello world ios v1
Hello world ios v1
Teodoro Alonso
 
visual basic v6 introduction
visual basic v6 introductionvisual basic v6 introduction
visual basic v6 introductionbloodyedge03
 
Intro to object oriented programming
Intro to object oriented programmingIntro to object oriented programming
Intro to object oriented programmingDavid Giard
 
Xamarin.Android Introduction
Xamarin.Android IntroductionXamarin.Android Introduction
Xamarin.Android Introduction
Guido Magrin
 
Component interface
Component interfaceComponent interface
Component interfaceJAYAARC
 
Vb.net Experiment with Example
Vb.net Experiment with ExampleVb.net Experiment with Example
Vb.net Experiment with Example
Vivek Kumar Sinha
 
iOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for JasakomeriOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for Jasakomer
Andri Yadi
 
Xam expertday
Xam expertdayXam expertday
Xam expertday
Codrina Merigo
 
iPhone Development Intro
iPhone Development IntroiPhone Development Intro
iPhone Development Intro
Luis Azevedo
 

Similar to Presentation1 password (20)

Ios - Introduction to platform & SDK
Ios - Introduction to platform & SDKIos - Introduction to platform & SDK
Ios - Introduction to platform & SDK
 
iOS,From Development to Distribution
iOS,From Development to DistributioniOS,From Development to Distribution
iOS,From Development to Distribution
 
Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)
 
CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19
 
iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)
 
MOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app developmentMOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app development
 
iOS training (basic)
iOS training (basic)iOS training (basic)
iOS training (basic)
 
iOS Automation Primitives
iOS Automation PrimitivesiOS Automation Primitives
iOS Automation Primitives
 
Owasp orlando, april 13, 2016
Owasp orlando, april 13, 2016Owasp orlando, april 13, 2016
Owasp orlando, april 13, 2016
 
Titanium Appcelerator - Beginners
Titanium Appcelerator - BeginnersTitanium Appcelerator - Beginners
Titanium Appcelerator - Beginners
 
ARabia hossain project report.pdf
ARabia hossain project report.pdfARabia hossain project report.pdf
ARabia hossain project report.pdf
 
Hello world ios v1
Hello world ios v1Hello world ios v1
Hello world ios v1
 
visual basic v6 introduction
visual basic v6 introductionvisual basic v6 introduction
visual basic v6 introduction
 
Intro to object oriented programming
Intro to object oriented programmingIntro to object oriented programming
Intro to object oriented programming
 
Xamarin.Android Introduction
Xamarin.Android IntroductionXamarin.Android Introduction
Xamarin.Android Introduction
 
Component interface
Component interfaceComponent interface
Component interface
 
Vb.net Experiment with Example
Vb.net Experiment with ExampleVb.net Experiment with Example
Vb.net Experiment with Example
 
iOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for JasakomeriOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for Jasakomer
 
Xam expertday
Xam expertdayXam expertday
Xam expertday
 
iPhone Development Intro
iPhone Development IntroiPhone Development Intro
iPhone Development Intro
 

Recently uploaded

Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 

Recently uploaded (20)

Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 

Presentation1 password

  • 2. Profile Ankit Desai  Ph.D. Scholar, IET, Ahmedabad University  Education: M. Tech. CE, B.E. I. T.  Experience: 7.5 Years (Academic and Research)  Research Interest: IoT, Big Data Analytics, Machine Learning, Data Mining.
  • 3. Mobile app development  Android  Windows  iOS  Blackberry  Bada  j2me
  • 4. Mobile app development Platforms/IDE  Android Studio (java) (Android apps)  Appcelerator studio (HTML Scripting) (iOS, Win, Android…)  PhoneGap (HTML Scripting) (iOS, Win, Android…)  WinDev Mobile (…) (Win, iOS, Android)  iOS sdk (Objective C) (iOS Programming)  Eclipse and netbeans (java) (Android)  Unity3D (java) (Mobile gaming)  Java ME SDK (java) (J2ME)  No Programming Required (TheAppBuilder.com, Other Web)
  • 5. Platform Information  iOS Programming requirements  Macintosh Operating System (OS Lion and above)  Xcode IDE  Knowledge of Objective C Programming/Swift Language  Explain Xcode IDE operations
  • 6. Objective C - Class Declare
  • 7. Objective C – Class Impl.
  • 9. iOS App Development  App Logo / App Icon  App Splash Screen  App Orientation
  • 12. Increase screen time [NSThread sleepForTimeInterval:5.0]; Add above line in viewController.m: - (void)viewDidLoad { [NSThread sleepForTimeInterval:5.0]; [super viewDidLoad]; }
  • 14.
  • 16.  3 Labels,  2 Text Box,  1 Button
  • 17. Create Properties and Actions  Ctrl + click + drag in to viewcontroller.h
  • 18.
  • 19. @synthesize @synthesize uname,passwd; Add above line into viewcontroller.m below @implementation com_abc_demoViewController @synthesize uname,passwd; …
  • 21. Change password property  For secure password and for multiple types of keyboard input  Also see placeholder property of both textboxes
  • 22. Secure, place holder & keyboard type property
  • 23. Get rid of keyboard add new methods
  • 25. Which button is clicked?  Change UIAlertView delegate from nil to self.  Add handler for determining which button is clicked?
  • 26. Adding self delegate UIAlertView *success = [[UIAlertView alloc]initWithTitle:@"Welcome" message:uname1 delegate:self cancelButtonTitle:@"cancle" otherButtonTitles:@"ok", nil]; [success show];
  • 27. Adding new method  Get the prototype from UIAlertView Class and add following code in body part. - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ if(buttonIndex == 0){ self.view.backgroundColor = [UIColor redColor]; } else if(buttonIndex == 1){ self.view.backgroundColor = [UIColor greenColor]; }else{ self.view.backgroundColor = [UIColor blueColor]; } }
  • 28. Deployment of App  Add app bundle id in to website.  Create an archive (.ipa)  Install archive on device
  • 29. Further source of reading 1. Youtube channel (thenewboston) iOS Series videos 2. Youtube channel (thenewboston) Objective C Series videos 3. O’relly publication’s book on iOS programming 4. iOS SDK page on developer.apple.com
  • 30. Thank you  For further communication or queries:  Contact me:  desaiankitb@gmail.com  www.fb.com/desaiankitb
  • 31. MCQ’s Q1  What is swift? 1. Programming language 2. Framework 3. Another name of iOS8 4. None of above
  • 32. MCQ’s A1  What is swift? 1. Programming language 2. Framework 3. Another name of iOS8 4. None of above
  • 33. Q2  What is bundle identifier in iOS applications? 1. It’s a unique identifier for an iOS application. 2. It identifies iOS app on a computer 3. It is used for setting appicons 4. It is used for setting app’s splash screens
  • 34. A2  What is bundle identifier in iOS applications? 1. It’s a unique identifier for an iOS application. 2. It identifies iOS app on a computer 3. It is used for setting appicons 4. It is used for setting app’s splash screens
  • 35. Q3  Find correct way to access method in objective c. 1. [x method-name:para1:para2]; 2. x.method-name(para1,para2); 3. x->method-name:para1,para2; 4. x->method-name(para1,para2);
  • 36. A3  Find correct way to access method in objective c. 1. [x method-name:para1:para2]; 2. x.method-name(para1,para2); 3. x->method-name:para1,para2; 4. x->method-name(para1,para2);
  • 37. Q4  Create object syntax in Objective C is: 1. ClassName ob = new ClassName(); 2. ClassName *ob = new ClassName(); 3. ClassName *ob = [[ClassName alloc]init]; 4. ClassName ob = [[ClassName alloc]init];
  • 38. A4  Create object syntax in Objective C is: 1. ClassName ob = new ClassName(); 2. ClassName *ob = new ClassName(); 3. ClassName *ob = [[ClassName alloc]init]; 4. ClassName ob = [[ClassName alloc]init];
  • 39. Q5  What is @synthesize? 1. Used to create properties. 2. Used to create getters and setters on given property 3. Used to create synthetic objects 4. Used to allocate memory to class variables.
  • 40. A5  What is @synthesize? 1. Used to create properties. 2. Used to create getters and setters on given property 3. Used to create synthetic objects 4. Used to allocate memory to class variables.

Editor's Notes

  1. After loading all images of respective sizes migrate them to some asset catalog
  2. After loading all images of respective sizes migrate them to some asset catalog