HireVietnamese - Lesson 1

L
HIREVIETNAMESE




iPhone Training
     Lesson 1
http://www.hirevietnamese.com                              HIREVIETNAMESE

    Contents

               1      Introduction to iPhone Programming

               2      Getting Setup

               3      Programming Fundamentals


               4      Example 1


               5      Exercise 1
http://www.hirevietnamese.com            HIREVIETNAMESE

    Introduction to iPhone Programming
http://www.hirevietnamese.com                    HIREVIETNAMESE

    Introduction to iPhone Programming

     Based on Objective-C
     Only one application running at a time (multi-tasking
      implemented in OS 4)
     Only one window
     Limited Screen Size
        480 x 320 pixels (iPhone, 3G, & 3GS)
        960 x 640 (iPhone 4G)
        1024 x 768 (iPad)
     Limited System Resources
http://www.hirevietnamese.com                        HIREVIETNAMESE

    Introduction to iPhone Programming

     Model – View –Controller (MVC) is
      the method used for developing a
      mobile app with XCode:
        Model holds your application’s data
        View holds the window, controls and other
         UI
        Controller Binds the model and view
         together and decides how to handle user
         input
http://www.hirevietnamese.com                          HIREVIETNAMESE

    Getting Setup

      Resources you will need:                Beginning iPhone 3
                                                Development

      Mac OS 10.6.x                            Programming in
           and                                   Objective-C
      iOS SDK 2.4.x

          Software               MAC Mini          Textbook
                                    Or
                                MacBook Pro

                                  Hardware
http://www.hirevietnamese.com          HIREVIETNAMESE

    Programming Fundamentals


                                New Project
http://www.hirevietnamese.com        HIREVIETNAMESE

    Programming Fundamentals


                                Tools -> Library


                                Interface Builder
http://www.hirevietnamese.com               HIREVIETNAMESE

    Programming Fundamentals

                                Key objects in an iOS
                                     application
http://www.hirevietnamese.com          HIREVIETNAMESE

    Programming Fundamentals

                                The Application
                                  Life Cycle
http://www.hirevietnamese.com                                                 HIREVIETNAMESE

     Programming Fundamentals
 State         Description
               The application has not been launched or was running but was terminated by the
 Not running
               system.

 Inactive      The application is running in the foreground but is currently not receiving events.

 Active        The application is running in the foreground and is receiving events.

 Background    The application is in the background and executing code.



 Suspended     The application is in the background but is not executing code.
http://www.hirevietnamese.com       HIREVIETNAMESE

    Programming Fundamentals

                                Launching into the
                                active state
http://www.hirevietnamese.com     HIREVIETNAMESE

    Programming Fundamentals

                                Moving from the
                                foreground to the
                                background
http://www.hirevietnamese.com                   HIREVIETNAMESE

    Programming Fundamentals
                                Handling application interruptions
http://www.hirevietnamese.com            HIREVIETNAMESE

    Programming Fundamentals
                                Transitioning from the
                                background to the
                                foreground
http://www.hirevietnamese.com            HIREVIETNAMESE

    Outlets and Actions




                                Outlet
http://www.hirevietnamese.com        HIREVIETNAMESE

    Outlets and Actions

                                UI           Code
http://www.hirevietnamese.com                        HIREVIETNAMESE

    Outlets and Actions
                                - (IBAction) gotoNext:(NSString*)str;
http://www.hirevietnamese.com   HIREVIETNAMESE

    View Controllers
http://www.hirevietnamese.com                                     HIREVIETNAMESE

    View Controllers



                     [viewController addSubView:view]

                     [navigationController pushViewController:viewController]

                     [self.window addSubview:navigationController.view]

                     [self.window makeKeyAndVisible]
http://www.hirevietnamese.com                       HIREVIETNAMESE

    Example 1




                            Input name = empty

                            Tap on display button
http://www.hirevietnamese.com                          HIREVIETNAMESE

    Example 1




                         If name == “HireVietnamese”

                            Tap on display button
http://www.hirevietnamese.com   HIREVIETNAMESE

    Exercise 1
HIREVIETNAMESE
1 sur 24

Recommandé

Lesson 2 par
Lesson 2Lesson 2
Lesson 2andrew_hirevn
312 vues27 diapositives
Lesson 1 par
Lesson 1Lesson 1
Lesson 1andrew_hirevn
411 vues24 diapositives
Intro to Mobile Development for Web iOS and Android par
Intro to Mobile Development for Web iOS and AndroidIntro to Mobile Development for Web iOS and Android
Intro to Mobile Development for Web iOS and AndroidSendGrid
1.3K vues20 diapositives
Responsive design bookmarklet par
Responsive design bookmarkletResponsive design bookmarklet
Responsive design bookmarkletCocoaHeads France
968 vues15 diapositives
不能承受的感動 - iOS App實機測試 par
不能承受的感動 - iOS App實機測試不能承受的感動 - iOS App實機測試
不能承受的感動 - iOS App實機測試彼得潘 Pan
2.6K vues11 diapositives
Appium - Reality check on the world’s leading Open Source Framework for Mobil... par
Appium - Reality check on the world’s leading Open Source Framework for Mobil...Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Appium - Reality check on the world’s leading Open Source Framework for Mobil...Asaf Saar
1.3K vues26 diapositives

Contenu connexe

Similaire à HireVietnamese - Lesson 1

Intro to PhoneGap par
Intro to PhoneGapIntro to PhoneGap
Intro to PhoneGapRyan Stewart
1.3K vues55 diapositives
The web - What it has, what it lacks and where it must go - keynote at Riga D... par
The web - What it has, what it lacks and where it must go - keynote at Riga D...The web - What it has, what it lacks and where it must go - keynote at Riga D...
The web - What it has, what it lacks and where it must go - keynote at Riga D...Robert Nyman
13.4K vues108 diapositives
Testing Big in JavaScript par
Testing Big in JavaScriptTesting Big in JavaScript
Testing Big in JavaScriptRobert DeLuca
77 vues218 diapositives
HireVietnamese - Lesson 2 par
HireVietnamese - Lesson 2HireVietnamese - Lesson 2
HireVietnamese - Lesson 2levanly
965 vues27 diapositives
HireVietnamese - Lesson 2 par
HireVietnamese - Lesson 2HireVietnamese - Lesson 2
HireVietnamese - Lesson 2Lê Lý
321 vues27 diapositives
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ... par
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...Robert Nyman
13K vues103 diapositives

Similaire à HireVietnamese - Lesson 1(20)

The web - What it has, what it lacks and where it must go - keynote at Riga D... par Robert Nyman
The web - What it has, what it lacks and where it must go - keynote at Riga D...The web - What it has, what it lacks and where it must go - keynote at Riga D...
The web - What it has, what it lacks and where it must go - keynote at Riga D...
Robert Nyman13.4K vues
HireVietnamese - Lesson 2 par levanly
HireVietnamese - Lesson 2HireVietnamese - Lesson 2
HireVietnamese - Lesson 2
levanly965 vues
HireVietnamese - Lesson 2 par Lê Lý
HireVietnamese - Lesson 2HireVietnamese - Lesson 2
HireVietnamese - Lesson 2
Lê Lý321 vues
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ... par Robert Nyman
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...
Robert Nyman13K vues
Building Mobile Apps on aPaaS platforms par Dr Ganesh Iyer
Building Mobile Apps on aPaaS platformsBuilding Mobile Apps on aPaaS platforms
Building Mobile Apps on aPaaS platforms
Dr Ganesh Iyer1.5K vues
1 app 2 developers 3 servers par Mark Myers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 servers
Mark Myers4.2K vues
Wheat - Mobile functional test automation par Sunny Tambi
Wheat - Mobile functional test automationWheat - Mobile functional test automation
Wheat - Mobile functional test automation
Sunny Tambi1.8K vues
The web - What it has, what it lacks and where it must go - Istanbul par Robert Nyman
The web - What it has, what it lacks and where it must go - IstanbulThe web - What it has, what it lacks and where it must go - Istanbul
The web - What it has, what it lacks and where it must go - Istanbul
Robert Nyman29.1K vues
Samsung Indonesia: Tizen Wearables par Ryo Jin
Samsung Indonesia: Tizen WearablesSamsung Indonesia: Tizen Wearables
Samsung Indonesia: Tizen Wearables
Ryo Jin642 vues
A Crash Course in Rapid Application Development par Progress
A Crash Course in Rapid Application DevelopmentA Crash Course in Rapid Application Development
A Crash Course in Rapid Application Development
Progress1.6K vues

Dernier

DALI Basics Course 2023 par
DALI Basics Course  2023DALI Basics Course  2023
DALI Basics Course 2023Ivory Egg
14 vues12 diapositives
Microsoft Power Platform.pptx par
Microsoft Power Platform.pptxMicrosoft Power Platform.pptx
Microsoft Power Platform.pptxUni Systems S.M.S.A.
47 vues38 diapositives
20231123_Camunda Meetup Vienna.pdf par
20231123_Camunda Meetup Vienna.pdf20231123_Camunda Meetup Vienna.pdf
20231123_Camunda Meetup Vienna.pdfPhactum Softwareentwicklung GmbH
28 vues73 diapositives
Report 2030 Digital Decade par
Report 2030 Digital DecadeReport 2030 Digital Decade
Report 2030 Digital DecadeMassimo Talia
14 vues41 diapositives
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive par
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveNetwork Automation Forum
21 vues35 diapositives
Piloting & Scaling Successfully With Microsoft Viva par
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft VivaRichard Harbridge
10 vues160 diapositives

Dernier(20)

DALI Basics Course 2023 par Ivory Egg
DALI Basics Course  2023DALI Basics Course  2023
DALI Basics Course 2023
Ivory Egg14 vues
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive par Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Piloting & Scaling Successfully With Microsoft Viva par Richard Harbridge
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft Viva
Five Things You SHOULD Know About Postman par Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman27 vues
The details of description: Techniques, tips, and tangents on alternative tex... par BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada121 vues
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors par sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab15 vues
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 par IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Web Dev - 1 PPT.pdf par gdsczhcet
Web Dev - 1 PPT.pdfWeb Dev - 1 PPT.pdf
Web Dev - 1 PPT.pdf
gdsczhcet55 vues
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... par Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker26 vues
Empathic Computing: Delivering the Potential of the Metaverse par Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Voice Logger - Telephony Integration Solution at Aegis par Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma17 vues

HireVietnamese - Lesson 1