MonoTouch Beta Release

We have just released to the Beta channels the first beta for our upcoming MonoTouch 5.2 release.

The MonoTouch 5.1 Beta contains the following features:

  • The MonoTouch.Dialog library is now part of MonoTouch. This allows developers to build applications in a fraction of the time.
  • Unit testing framework Touch.Unit to create unit tests for your MonoTouch applications.
  • System.Numerics library that contains BigInt and Complex data types.
  • System.IO.MemoryMappedFiles
  • New MapKit APIs
  • Our Generation Collector works.
  • Linker Improvements:
  • Parallel LINQ preview
    • Notice that there are some limitations due to Generics that we will be improving on future releases

We are very excited about making MonoTouch.Dialog part of this release. To ensure compatibility, we renamed this assembly to “MonoTouch.Dialog-1”, this will avoid any conflicts with existing users of the library. This library will continue to be developed as an open source library, and regular updates will be added to MonoTouch.

With MonoTouch.Dialog, you can build UIs in minutes. For example this entire UI:

Was created with this code:

return new RootElement ("Settings") {
    new Section (){
        new BooleanElement ("Airplane Mode", false),
        new RootElement ("Notifications", 0, 0) {
            new Section (null, "Turn off Notifications to disable Sounds\n" +
                     "Alerts and Home Screen Badges for the\napplications below."){
                new BooleanElement ("Notifications", false)
            }
        }},
    new Section (){
        CreateSoundSection (),
        new RootElement ("Brightness"){
            new Section (){
                new FloatElement (null, null, 0.5f),
                new BooleanElement ("Auto-brightness", false),
            }
        },
        new RootElement ("Wallpaper"){
            new Section (){
                new ImageElement ("flowers.png"),
                new ImageElement ("sand.png"),
                new ImageElement ("sky.png")
            }
        }
    },
    new Section () {
        new EntryElement ("Login", "Your login name", "miguel"),
        new EntryElement ("Password", "Your password", "password", true),
        new DateElement ("Select Date", DateTime.Now),
        new TimeElement ("Select Time", DateTime.Now),
    },
}

You can check out the full MonoTouch.Dialog samples from GitHub.

Advertisements

One Comment

  1. Posted November 30, 2011 at 9:26 am | Permalink | Reply

    Monotouch 5.1 beta isn’t installing. MonoDevelop (version 2.8) shows that there is update, but can’t download it. Monotouch.log has error:
    File download failed: http://download.xamarin.com/priv/9ffe3ac3d1c0bea36cb7a61fe11fa016/MonoTouch/monotouch-eval-5.1.0.pkg
    System.Net.WebException: The remote server returned an error: (403) Forbidden.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s