Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying iOS Development with Xamarin Cookbook
  • Table Of Contents Toc
iOS Development with Xamarin Cookbook

iOS Development with Xamarin Cookbook

By : Dimitrios Tavlikos
4 (13)
close
close
iOS Development with Xamarin Cookbook

iOS Development with Xamarin Cookbook

4 (13)
By: Dimitrios Tavlikos

Overview of this book

The book is written in a recipe format with practical examples, allowing you to go directly to your topic of interest or follow topics throughout a chapter to gain an in-depth knowledge. There are also plenty of hints and best practices along the way. If you are a C#/.NET developer with no previous experience in iOS development or an Objective-C developer who wants to create complete iOS applications and deploy them to the App Store, then this book is ideal for you. No experience with Xamarin is needed.
Table of Contents (22 chapters)
close
close
iOS Development with Xamarin Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1
Index

Introduction


One of the most important things professionals care about is the tools that are required to complete their work with. Just like carpenters need a chisel to scrape wood, or photographers need a camera to capture light, we developers need certain tools which we cannot work without.

In this chapter, we will provide information on what IDEs (Integrated Development Environments) and SDKs (Software Development Kits) are needed to develop applications for iOS, Apple's operating system, for the company's mobile devices. We will describe what the role of every tool in the development cycle is, and go through the features that are essential to develop our first application.

The following are the tools needed to develop applications with Xamarin.iOS:

  • An Apple Mac computer running at least the Lion (10.7.*) operating system: The essential programs we need cannot be installed on other computer platforms.

    Note

    Xamarin also offers Visual Studio development integration for their products. A Mac computer is still required for compiling, testing, debugging, and distributing the application. More information can be found on Xamarin's website at http://docs.xamarin.com/guides/ios/getting_started/introduction_to_xamarin_ios_for_visual_studio/.

  • Latest iOS SDK: To be able to download iOS SDK, a developer must be registered as an Apple developer. iOS SDK, among other things, includes two essential components:

    • Xcode: This is Apple's IDE for developing native applications for iOS and Mac with the Objective-C programming language.

    • iOS Simulator: This is an essential program to debug iOS apps on the computer, without the need of a device. Note that there are many iOS features that do not work on the simulator. Hence, a device is needed if an app uses these features.

    Note

    Both the registration and SDK download are free of charge from Apple's developer portal (http://developer.apple.com). If we want to run and debug our apps on the device or distribute them on the App Store, we need to enroll to iOS Developer Program, which requires a subscription fee.

  • Xamarin Installer: Xamarin offers all their necessary tools in one installation bundle. This bundle includes the Xamarin.iOS SDK and Xamarin Studio, the IDE for developing iOS applications with C#. A free registration is required for downloading the Xamarin Installer, and it can be found by clicking on the link http://xamarin.com/download.

This chapter will also describe how to create our first iPhone project with Xamarin Studio, construct its UI with Xcode, and access the app's user interface from within our code, with the concepts of Outlets and Actions.

Last, but not least, we will learn how to compile our app, the available compilation options we have, and how to debug on the simulator.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
iOS Development with Xamarin Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon