Hello iOS – Creating a Xamarin iOS app
In this recipe, we will be creating our first iOS application. This will be a Hello World
type of application. Later on, we will change this application to use a .NET Standard 2.0 library.
Getting ready
Make sure you have completed the previous recipe and installed Visual Studio for Mac. Also, make sure you have XCode installed alongside Visual Studio for Mac.
How to do it...
- Open
Finder
. - Click
Applications
in the left-hand pane. - Now, double-click on the Visual Studio icon.
- Now, click on the
New Project
button. - In the
Choose a template for your project
dialog box, scroll down till you reach theother
section. - Select
Miscellaneous
and, underGeneric
, selectBlank Solution
:
- Now, click the
Next
button. - In the
Solution Name:
textbox, typeChapter8.Xamarin
. Also make sure you have selected a proper location:

- Now, click
Create
. - Now, the
Solution Explorer
should look like this:

- Now, Ctrl + click on the
Chapter8.Xamarin
label and selectAdd
|New Project
. - Select
App
under...