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 Learning Xamarin studio
  • Table Of Contents Toc
Learning Xamarin studio

Learning Xamarin studio

By : William Smith
4 (3)
close
close
Learning Xamarin studio

Learning Xamarin studio

4 (3)
By: William Smith

Overview of this book

This book is intended for .NET developers with any level of experience and who are interested in building native applications without the hassle of becoming Objective-C or Java experts. Although it will be beneficial to have some development experience, particularly in .NET, Learning Xamarin help even a novice developer get past the headaches of setting up and customizing their new development environment so they can move on to producing high-quality native applications quickly.
Table of Contents (11 chapters)
close
close
10
Index

Adding a ViewController to our project


Let's manually create a ViewController that consists of a label, text field, and button:

  1. In Xamarin Studio, create a new solution by going to iOS | Empty Application, and name it UpdateLabelApplication.

  2. Right-click on the UpdateLabelApplication project and select Add File….

  3. Select a file by going to iOS | iPhone View Controller.

  4. Name the file UpdateLabelViewController and click on the New button.

  5. If Xcode does not open Interface Builder automatically, open the file from the Solution Explorer pad.

  6. Switch to the assistant view, and open the UpdateLabelViewController.h file in the right pane using the jump bar.

  7. Using the Object Library in the Utility Area, drag-and-drop a Text Field, Button, and Label control onto the view in the left pane of Interface Builder. Your view should look something like the following screenshot:

  8. Holding down the Ctrl key, select the text field and drag a wire across to the .h file, releasing just below the @interface label.

  9. Create an...

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.
Learning Xamarin studio
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