SlideShare une entreprise Scribd logo
1  sur  42
Xamarin
   Seminar
       8th March 2012
    Copyright 2012 © Xamarin Inc. All rights reserved
Agenda
New Features in MonoTouch
           5.2

                        Mike Bluestein
                        Technical Writer
                        Xamarin Documentation Team
                        mike.bluestein@xamarin.com




                                                         Xamarin
     Copyright 2012 © Xamarin Inc. All rights reserved
Introduction
This session will cover some of the new features
available with MonoTouch 5.2



                 MonoTouch.Dialog
                   Unit Testing
                     Profiler




                                                                     Xamarin
                 Copyright 2012 © Xamarin Inc. All rights reserved
MonoTouch.Dialog
MonoTouch.Dialog
MonoTouch.Dialog
       • Now included with
         MonoTouch
MonoTouch.Dialog
       • Now included with
         MonoTouch
       • Declarative creation of
         table-driven applications
MonoTouch.Dialog
       • Now included with
         MonoTouch
       • Declarative creation of
         table-driven applications
       • Many features such as
         pull-to-refresh, search,
         background image
         loading, custom cells.
MT.D Elements
MT.D Elements API
MT.D Elements API
• Hierarchy of sections and elements define
  screens
MT.D Elements API
• Hierarchy of sections and elements define
  screens
• Element represents a cell in the table
MT.D Elements API
• Hierarchy of sections and elements define
  screens
• Element represents a cell in the table
• Many built-in elements
MT.D Elements API
• Hierarchy of sections and elements define
  screens
• Element represents a cell in the table
• Many built-in elements
  •   StringElement, EntryElement, MultilineElement, BooleanElement,
      RadioElement, BadgeElement, FloatElement, ActivityElement,
      DateElement, TimeElement, DateTimeElement, HTMLElement,
      LoadMoreElement, OwnerDrawnElement, JsonElement
MT.D Elements API
• Hierarchy of sections and elements define
  screens
• Element represents a cell in the table
• Many built-in elements
  •   StringElement, EntryElement, MultilineElement, BooleanElement,
      RadioElement, BadgeElement, FloatElement, ActivityElement,
      DateElement, TimeElement, DateTimeElement, HTMLElement,
      LoadMoreElement, OwnerDrawnElement, JsonElement


• You can create custom elements too
MT.D JsonElement
MT.D JsonElement

• Declare elements in JSON
MT.D JsonElement

• Declare elements in JSON
• Load from local file or System.Json.JsonObject
MT.D JsonElement

• Declare elements in JSON
• Load from local file or System.Json.JsonObject
• Load on demand from URL
Unit Testing
Unit Testing

      • Touch.Unit
Unit Testing

      • Touch.Unit
      • iOS test runner
Unit Testing

      • Touch.Unit
      • iOS test runner
      • Modified NUnitLite
        framework
Unit Testing
Unit Testing
• MonoTouch Unit Test project template
Unit Testing
• MonoTouch Unit Test project template
• MonoTouch.NUnitLite assembly
Unit Testing
• MonoTouch Unit Test project template
• MonoTouch.NUnitLite assembly
• TouchRunner class
Unit Testing
• MonoTouch Unit Test project template
• MonoTouch.NUnitLite assembly
• TouchRunner class
• Main class for TouchUnit
Unit Testing
• MonoTouch Unit Test project template
• MonoTouch.NUnitLite assembly
• TouchRunner class
• Main class for TouchUnit
 • Creates testing UI
Unit Testing
• MonoTouch Unit Test project template
• MonoTouch.NUnitLite assembly
• TouchRunner class
• Main class for TouchUnit
 • Creates testing UI
 • Executes tests
Profiler
Profiler
• Memory Analysis
Profiler
• Memory Analysis
• Performance Analysis
Profiler
• Memory Analysis
• Performance Analysis
• Must enable profiling, debugging and SGen
  GC per project
Profiler
• Memory Analysis
• Performance Analysis
• Must enable profiling, debugging and SGen
  GC per project
 • MonoDevelop will prompt for these
Profiler
• Memory Analysis
• Performance Analysis
• Must enable profiling, debugging and SGen
  GC per project
 • MonoDevelop will prompt for these
Profiler UI
Profiler UI


• Profiler includes a
  GUI for setting
  profiler options
Profiler UI


• Profiler includes a
  GUI for setting
  profiler options
Profiler Results UI
References
Introduction to MonoTouch.Dialog
http://docs.xamarin.com/ios/tutorials/MonoTouch.Dialog

Miguel de Icaza creates an iOS login screen with MonoTouch.Dialog
http://youtu.be/3butqB1EG0c

Easily create iOS user interfaces with MonoTouch.Dialog
http://youtu.be/j7OC5r8ZkYg

Unit Testing
http://docs.xamarin.com/ios/tutorials/Unit_Testing

MonoTouch Profiler
http://docs.xamarin.com/ios/tutorials/MONOTOUCH_PROFILER

SGen Garbage Collector
http://mono-project.com/Working_With_SGen
                                                                                Xamarin
                            Copyright 2012 © Xamarin Inc. All rights reserved
Xamarin
    Seminar
   Please give us your feedback
  http://bit.ly/xamfeedback


      Follow us on Twitter
        @XamarinHQ

           8th March 2012
        Copyright 2012 © Xamarin Inc. All rights reserved

Contenu connexe

Plus de Xamarin

Plus de Xamarin (20)

Get the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Get the Most Out of iOS 11 with Visual Studio Tools for XamarinGet the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Get the Most Out of iOS 11 with Visual Studio Tools for Xamarin
 
Get the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Get the Most out of Android 8 Oreo with Visual Studio Tools for XamarinGet the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Get the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
 
Creative Hacking: Delivering React Native App A/B Testing Using CodePush
Creative Hacking: Delivering React Native App A/B Testing Using CodePushCreative Hacking: Delivering React Native App A/B Testing Using CodePush
Creative Hacking: Delivering React Native App A/B Testing Using CodePush
 
Build Better Games with Unity and Microsoft Azure
Build Better Games with Unity and Microsoft AzureBuild Better Games with Unity and Microsoft Azure
Build Better Games with Unity and Microsoft Azure
 
Exploring UrhoSharp 3D with Xamarin Workbooks
Exploring UrhoSharp 3D with Xamarin WorkbooksExploring UrhoSharp 3D with Xamarin Workbooks
Exploring UrhoSharp 3D with Xamarin Workbooks
 
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for XamarinDesktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
 
Developer’s Intro to Azure Machine Learning
Developer’s Intro to Azure Machine LearningDeveloper’s Intro to Azure Machine Learning
Developer’s Intro to Azure Machine Learning
 
Customizing Xamarin.Forms UI
Customizing Xamarin.Forms UICustomizing Xamarin.Forms UI
Customizing Xamarin.Forms UI
 
Session 4 - Xamarin Partner Program, Events and Resources
Session 4 - Xamarin Partner Program, Events and ResourcesSession 4 - Xamarin Partner Program, Events and Resources
Session 4 - Xamarin Partner Program, Events and Resources
 
Session 3 - Driving Mobile Growth and Profitability
Session 3 - Driving Mobile Growth and ProfitabilitySession 3 - Driving Mobile Growth and Profitability
Session 3 - Driving Mobile Growth and Profitability
 
Session 2 - Emerging Technologies in your Mobile Practice
Session 2 - Emerging Technologies in your Mobile PracticeSession 2 - Emerging Technologies in your Mobile Practice
Session 2 - Emerging Technologies in your Mobile Practice
 
Session 1 - Transformative Opportunities in Mobile and Cloud
Session 1 - Transformative Opportunities in Mobile and Cloud Session 1 - Transformative Opportunities in Mobile and Cloud
Session 1 - Transformative Opportunities in Mobile and Cloud
 
SkiaSharp Graphics for Xamarin.Forms
SkiaSharp Graphics for Xamarin.FormsSkiaSharp Graphics for Xamarin.Forms
SkiaSharp Graphics for Xamarin.Forms
 
Building Games for iOS, macOS, and tvOS with Visual Studio and Azure
Building Games for iOS, macOS, and tvOS with Visual Studio and AzureBuilding Games for iOS, macOS, and tvOS with Visual Studio and Azure
Building Games for iOS, macOS, and tvOS with Visual Studio and Azure
 
Intro to Xamarin.Forms for Visual Studio 2017
Intro to Xamarin.Forms for Visual Studio 2017Intro to Xamarin.Forms for Visual Studio 2017
Intro to Xamarin.Forms for Visual Studio 2017
 
Connected Mobile Apps with Microsoft Azure
Connected Mobile Apps with Microsoft AzureConnected Mobile Apps with Microsoft Azure
Connected Mobile Apps with Microsoft Azure
 
Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017
 
Building Your First iOS App with Xamarin for Visual Studio
Building Your First iOS App with Xamarin for Visual StudioBuilding Your First iOS App with Xamarin for Visual Studio
Building Your First iOS App with Xamarin for Visual Studio
 
Building Your First Android App with Xamarin
Building Your First Android App with XamarinBuilding Your First Android App with Xamarin
Building Your First Android App with Xamarin
 
Building Your First Xamarin.Forms App
Building Your First Xamarin.Forms AppBuilding Your First Xamarin.Forms App
Building Your First Xamarin.Forms App
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

New Features of MonoTouch 5.2 with Mike Bluestein

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n