Tag Archives: xamarin

Notes: Upgrade NUnit.Xamarin to NUnit 3.8.1

The notes I took when trying to upgrade the NUnit Xamarin project to NUnit 3.8.1.  The reason I did this was to fix issue #87.  When I try to us NUnit Xamarin on another project it fails with the following … Continue reading

Posted in Code Examples, Notes, Software Development | Tagged , , | Comments Off on Notes: Upgrade NUnit.Xamarin to NUnit 3.8.1

Today I Learned How to Automate Objective-c Builds in TeamCity

Several months ago I discussed how to manually build an objective-c project so it can be consumed by a Xamarin Binding Project.  In this post I show how to automate the building of the objective-c project.  In my case I need … Continue reading

Posted in Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Automate Objective-c Builds in TeamCity

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 4 The Actual Binding

This is the 4th and final part about incorporating an objective-c library in Xamarin.  In my case I’m binding BEMCheckBox.  In part 3 we used Sharpie to create a C# interface for the BEMCheckBox.  In this post we will show … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 4 The Actual Binding

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 3 Using Sharpie to Create Binding Interface

This is the 3rd part about using the BEMCheckBox, an Objective-C library, in Xamarin.  Part 1 described how to compile the BEMCheckBox library using Xcode.  Part 2 showed how to combine the multiple libraries we compiled from Part 1 into … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 3 Using Sharpie to Create Binding Interface

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 2 Combining Libraries

This is part 2 of creating a iOS Binding for the Objective-C Library BEMCheckBox.  In part 1 we compiled the Xcode project into two separate libraries.  One for iphones (ARM architecture) and one for iOS simulators (x86/x64 architecture). In this … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 2 Combining Libraries

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 1 Compiling the Objective-C Library

There is no checkbox for Xamarin Forms applications.  This is a problem because I wanted a checkbox in a application I’m working on.  A switch wasn’t going to cut it. After a bit of research I found that Android had native … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 1 Compiling the Objective-C Library

Today I Learned How to Handle Local Notifications in Xamarin on Android

In my previous example I detailed how to schedule notifications in Xamarin on Android but didn’t show the Xamarin Forms application reacting to that specific notification.  Let’s fix that. First override the OnNewIntent method in the MainActivity.  We override this method so notifications will … Continue reading

Posted in Code Examples, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Handle Local Notifications in Xamarin on Android

Today I Learned How To Create Xamarin iOS and Android Unit Tests

I’m currently working on a notification plugin for Xamarin Forms and wanted to setup some unit tests.  The problem is my code accesses the device-specific notification systems in iOS and Android.  This means I can’t just run my unit tests … Continue reading

Posted in Goal App, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How To Create Xamarin iOS and Android Unit Tests

Today I Learned Xamarin Push Notification Plugins

I learned this week that there is no built-in support for Push Notifications in Xamarin Forms.  On the plus side there are several open source projects trying to fill this hole.  The one that has caught my eye is edsnider/Xamarin.Plugins. … Continue reading

Posted in Today I Learned | Tagged , , | Comments Off on Today I Learned Xamarin Push Notification Plugins

Fixing MSBuild not Exiting

After upgrading to Visual Studio Xamarin 4.1 from 4.0 our TeamCity build suddenly stopped working.  Actually it was working but won’t stop working.  The build would get hang after rebuilding out solution to create the IPA file. The step in question … Continue reading

Posted in Code Examples, Software Development | Tagged , , , | Comments Off on Fixing MSBuild not Exiting