SlideShare a Scribd company logo
1 of 41
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 viewAnkit Desai
 
Presentation6 ui image_view
Presentation6 ui image_viewPresentation6 ui image_view
Presentation6 ui image_viewAnkit Desai
 
Presentation7 segment control
Presentation7 segment controlPresentation7 segment control
Presentation7 segment controlAnkit Desai
 
java code and document security
java code and document securityjava code and document security
java code and document securityAnkit 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 transferAnkit Desai
 
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,From Development to Distribution
iOS,From Development to DistributioniOS,From Development to Distribution
iOS,From Development to DistributionTunvir 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-19Gobinath 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 developmentanistar sung
 
iOS Automation Primitives
iOS Automation PrimitivesiOS Automation Primitives
iOS Automation PrimitivesSynack
 
Owasp orlando, april 13, 2016
Owasp orlando, april 13, 2016Owasp orlando, april 13, 2016
Owasp orlando, april 13, 2016Mikhail Sosonkin
 
Titanium Appcelerator - Beginners
Titanium Appcelerator - BeginnersTitanium Appcelerator - Beginners
Titanium Appcelerator - BeginnersAmbarish Hazarnis
 
ARabia hossain project report.pdf
ARabia hossain project report.pdfARabia hossain project report.pdf
ARabia hossain project report.pdfArabiaHossain
 
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 IntroductionGuido 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 ExampleVivek Kumar Sinha
 
iOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for JasakomeriOS Development - Offline Class for Jasakomer
iOS Development - Offline Class for JasakomerAndri Yadi
 
iPhone Development Intro
iPhone Development IntroiPhone Development Intro
iPhone Development IntroLuis 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

BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 

Recently uploaded (20)

BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 

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