You’re a developer who has just created a great idea and then verified that a marketplace exists for it. You’ve got an idea how to create income from it business. Now the problem is, you are just you and there is still lots of stuff to do. How do you move forward now? Let’s walk through a number of these issues in my article at Visual Studio Magazine.
I simply love Matt Ward, a wonderful developer who works on NuGet inside of Xamarin Studio. He is always blogging about all of the recent updates to NuGet in XS, so be sure to follow his blog. Matt does so much more though including an awesome add-in for Xamarin Studio to add some awesome new features when using Xamarin Studio. My favorite feature is Solution Level adding of NuGet packages. Why do I love this feature? Well because I use tons of Plugins for Xamarin (and so should you).
Installing and Using The Add-in
To get started all you need to do is go to the Xamarin Studio Add-in Manager.
You will need to turn on the alpha channel under the Gallery tab by selecting Manage Repositories:
Then turn on Alpha Channel, Hit Close, and then Refresh the list.
You will now see the NuGet Package Manager Extensions available under IDE extensions:
With the add-in installed you can now open up your cross platform native mobile app or create a new one. Now if I want to add my Settings Plugin to all of my projects all I have to do is Right Click on your solution and you will see “Manage Packages”.
This will bring up an older NuGet package manager (not the new fancy official one), but you can search for a NuGet and then hit Manage to select which projects you want to install them in.
There you have it, easily adding NuGet packages at a solution level to all of your projects. You will then receive all of your normal updates Xamarin Studio offers and still have access to the per platform NuGet Package Manager.
Highly regarded in the software development community, the GOTO Conference series of annual events has been firmly established in Europe since 2009. This year, for the first time, the UK is getting it’s own three-day conference at GOTO London 2015. GOTO London 2015 – September 16th to 18th (Workshops Sept. 15-16) Join Xamarin Developer Evangelist […]
When developing mobile applications, it’s extremely time consuming and tedious to manually test your app for every new feature added or bug fixed. Of course, it’s possible to test an app’s business logic with common unit testing practices using nUnit or xUnit, but what about the user interface? How can we ensure that an application’s […]
One of my favorite features of the iPhone is Touch ID, introduced by Apple with the release of the iPhone 5s a couple of years ago. Touch ID adds biometric authentication to your device so users can touch the home button to unlock their device instead of using a pin code. Since its initial release, […]
In this episode we’re talking about Xamarin.Forms again, but this time around it’s a bit different. We’re joined once again by Jason Smith, lead developer of Xamarin.Forms, to take a look behind the scenes of Xamarin.Forms. We get into where it came from, inspirations, design decisions, triumps, mistakes, and more. Join us for this peek behind the curtain of creating the Xamarin.Forms framework!
Guest: Jason Smith
Thanks to our Sponsors!
Raygun.io – Exceptional Error Tracking
Raygun.io is the fastest and easiest way to track your application’s errors and get the level of detail you need to fix crashes quickly. Notifications are delivered right to your inbox and presented on a beautiful dashboard.
If you are a Visual Basic developer, your options for becoming a mobile developer have historically been limited to targeting Windows Phone; however, with Xamarin.Forms, Portable Class Libraries, and Visual Studio, developing iOS and Android apps entirely in Visual Basic has become a real possibility. Last year I wrote about how Visual Basic Portable Class […]
The good news is that is isn’t really that complicated. Simply create a custom renderer and add some behavior to the NavigationRenderer.
First, the Xaml
The definition of our view looks like this.
xml version=“1.0“ encoding=“UTF–8“?>
Title = “Welcome“
<ToolbarItem Name=“Add“ />
<ToolbarItem Name=“Camera“ />
<Label Text=“Wow, that‘s cool!“ HorizontalOptions=“Center“ VerticalOptions=“Center“ />
The key part here is to name your ToolbarItems to something useful and something that we can reference in the custom renderer. You also might want to make sure that the name works on Android and Windows Phone since those platforms won’t be affected by this change.
Then the renderer
Being a swede, I have trouble saying the word Renderer… Rendererrerr… Anyhow, this is what it looks like in code. The key is to look at the title for each UIBarButtonItem and replace the entire button with a new one. So we first define a new list to hold our new buttons and then recreate them, one by one to finally assign the new list to the NavigationItem.
The renderer goes in the iOS project since it’s iOS specific.
[assembly: ExportRenderer(typeof(NavigationPage), typeof(CustomNavigationRenderer))]
public class CustomNavigationRenderer : NavigationRenderer
public override void PushViewController(UIKit.UIViewController viewController, bool animated)
var list = new List<UIBarButtonItem>();
foreach (var item in TopViewController.NavigationItem.RightBarButtonItems)
if (item.Title.ToLower() == “add“)
var newItem = new UIBarButtonItem(UIBarButtonSystemItem.Add)
Action = item.Action,
Target = item.Target
if (item.Title.ToLower() == “camera“)
var newItem = new UIBarButtonItem(UIBarButtonSystemItem.Camera)
Action = item.Action,
Target = item.Target
TopViewController.NavigationItem.RightBarButtonItems = list.ToArray();