Coder Social home page Coder Social logo

luiseduardohdbackup / xamarin-forms-book-preview-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xamarin/xamarin-forms-book-preview-2

0.0 3.0 0.0 13.01 MB

Sample code for the 2nd Preview Edition of "Creating Mobile Apps with Xamarin.Forms"

License: Apache License 2.0

C# 100.00%

xamarin-forms-book-preview-2's Introduction

xamarin-forms-book-preview-2

Sample code for the 2nd Preview Edition of Creating Mobile Apps with Xamarin.Forms.

Chapters of the book can be downloaded from http://developer.xamarin.com/guides/cross-platform/xamarin-forms/creating-mobile-apps-xamarin-forms/.

Notes

Now with Windows Runtime Projects!

As of April 21, all solutions have been upgraded to Xamarin.Forms 1.4.2. Two additional projects have been added to every solution with the suffixes WinApp and WinPhone81. These projects target the Windows Runtime API in Windows 8.1 and Windows Phone 8.1, respectively.

Because Xamarin.Forms 1.4.2 is a stable release, there is no longer a separate windows-runtime branch.

The support of the Windows Runtime API is still in a early state and not working entirely well. In particular, the following problems will be experienced in the sample programs with the WinApp and WinPhone81 projects:

  • Font sizes are somewhat erratic
  • The Accent color doesn't show up
  • Device.OnPlatform and OnPlatform don't account for the two new platforms
  • The SAP programs in Chapter 9 won't compile
  • Most of the programs in Chapter 13 don't work.

To add the Windows Runtime projects to your own Xamarin.Forms solutions, see http://developer.xamarin.com/guides/cross-platform/xamarin-forms/windows/.

Loading the NuGet Packages

The Xamarin.Forms NuGet packages are not part of these projects. They must be downloaded for each project.

To avoid hassles, start by loading the NuGet packages for the two solutions in the Libraries directory, and building those two projects.

First load the Libraries/Xamarin.FormsBook.Toolkit solution into Visual Studio. Right-click the solution name in the Solution List and select Manage NuGet Packages for Solution. A notice should appear at the top of the Manage NuGet Packages dialog that says "Some NuGet packages are missing from this solution. Click to restore from you online package sources." Click the Restore button and then the Close button. Build the library.

Do the same thing with the Libraries/ElPasoHighSchool solution.

You can then load any of the application projects. For each project, again right-click the solution name, select Manage NuGet Packages for Solution and go through the same process.

Differences with Book

For some programs, there are some differences between the code listings in the PDF book chapters and those in this repository: In Chapter 7, TextVariations is different because beginning with version 1.3.3, there is no longer a distinction between text as the content of the Label tags and text as content of the Label.Text tags. In both cases, whitespace at the beginning and end of the text block is trimmed.

When specifying a local namespace declaration in XAML, it is no longer necessary to include the assembly name. You can include it if you want, but it's been removed from the ColorListView program in Chapter 8, SharedStatics in Chapter 10, and StackedBitmap in Chapter 13.

The deprecated Font has been replaced with FontSize in MonkeyTap and XamlKeypad, both in Chapter 8.

xamarin-forms-book-preview-2's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.