Wallace B. (Wally) McClure: Handling Events in the Xamarin MessagingCenter – article

Url: https://visualstudiomagazine.com/articles/2015/12/01/xamarin-messagingcenter.aspx

Tightly coupled systems are a nightmare to deal with. Having references everywhere causes all sorts of problems with reusability. Think about this in the standpoint of mobile systems where we would like to share code between iOS, Android and Windows .NET systems. Having to pass around a reference to a UIViewController or Activity/Fragment so that you can make some type of change can be a nightmare. iOS doesn’t understand an Android Activity/Fragment, and Android doesn’t understand a UIViewController.

What’s a developer to do? Thankfully, there are a couple of answers to this problem. The first, and most obvious, solution is to use standard .NET/C# events. Remember, nearly every feature in the .NET Framework is a part of Xamarin products. The second possible solution is something that is Xamarin.Forms-specific: the Xamarin MessagingCenter, which I’ll explore in this article.

Xamarin: Optimizing Xamarin.Forms Apps for Maximum Performance

We know performance matters when it comes to mobile apps. With Xamarin, your iOS and Android apps are fully native apps taking advantage of each and every optimization the platform has to offer. It’s no different if you’re building native mobile apps with Xamarin.Forms and its shared user interface library. Xamarin.Forms 2.0, recently introduced as […]

The post Optimizing Xamarin.Forms Apps for Maximum Performance appeared first on Xamarin Blog.

Lori Lalonde: Continuous Integration with Xamarin.iOS, Visual Studio Team Services, and MacinCloud: Part 1

Recently, Microsoft and MacinCloud announced a partnership in which they have enabled Visual Studio Team Services (VSTS) to support continuous integration (CI) builds for Xamarin.iOS and XCode projects using a Mac build agent in the cloud. This is great news as more companies are looking to move towards cloud-hosted solutions for their build and deployment pipeline. Although MacinCloud […]

Xamarin: Live Webinar: Mobile Testing Made Easy with Xamarin Test Recorder

As part of Xamarin 4, we announced the preview release of Xamarin Test Recorder, which makes it fast and easy to record automated tests for your app. Join Xamarin Test Cloud Product Manager John Lago to learn how to accelerate your UI testing with Xamarin Test Recorder. John will demonstrate how to record C# UITest […]

The post Live Webinar: Mobile Testing Made Easy with Xamarin Test Recorder appeared first on Xamarin Blog.

Xamarin: Contest: Xamarin for the Holidays

It’s the time of year where the spirit of giving fills the air, so we here at Xamarin wanted to send our love to developers all over the world by sharing the gift of knowledge! For the next seven days, we’re giving away hundreds of copies of legendary technical author Charles Petzold’s Creating Mobile Apps […]

The post Contest: Xamarin for the Holidays appeared first on Xamarin Blog.

Xamarin: Pressure Sensitive Gestures with 3D Touch and iOS 9

With the release of iOS 9, Apple is enabling developers to add pressure sensitive gestures to their iOS apps running on iPhone 6s and iPhone 6s Plus devices. Using the new 3D Touch APIs, an iPhone app is now able to not only tell that the user is touching the device’s screen, but is also able to sense how […]

The post Pressure Sensitive Gestures with 3D Touch and iOS 9 appeared first on Xamarin Blog.