Breaking the Pancake mould

Tasty pancakes!

You may have used PancakeView in your Xamarin.Forms adventures in the past. Ever dreamed of breaking out of that rectangular/circular mould? Well, now you can with the latest PancakeView update!

Introducing 1.1.8

A while ago, a gentleman by the name of Shanmukha Ranganath submitted a PR to PancakeView aiming to support other shapes as well. By introducing a Sides property it has now become possible to create pretty much any polygonal shape as long as it’s symmetrical. Because of the vast amount of options that it already supported it was quite a chore to get it all to work together correctly. An effort that we both poured quite a few hours into, but the end result was well worth it.

We also greatly improved all of the rendering bits on both iOS and Android to reduce the number of strange rendering bugs you might come across. I feel this addition really makes it an even more versatile control to use when creating a fancy looking layout. And it’s all rendered natively on the platform!

A new way of debugging your PancakeView

Part of this update is the new debugging experience in the sample project that is offered on GitHub. It is accessed by double-tapping the PancakeView logo when running the sample app, which brings you to a screen where you can tweak all of its options. To make this work, we had to rewrite some of our code to better handle all the redrawing when properties changed. This was a pain point to begin with, so finally sitting down and fixing it was well overdue.

Get it now and put it to work!

The update is out on NuGet so update those projects and check it out for yourself. If you find anything that isn’t working as it should don’t hesitate to open an issue on GitHub. Got any additional features that could add even more value to it? Open up a PR and let’s see if we can add it in!

Related articles

May 21, 2019 16:50 in

A quick explainer: recent NuGet packages

Recently I’ve been pushing out a few NuGet packages with components that I use in my every day Xamarin work. This blog post is meant to give you a little overview of these packages and how they can help you in your daily mobile development flow.

November 30, 2018 16:45 in

Xamarin.Forms in Space!

As you may have seen from reading other content on this blog I dabble in the world of cryptocurrency. To help me on my position sizing I figured I’d create a little calculator app. Obviously, if you know me, that has to look sexy. So I decided to go on a journey into space using […]

February 15, 2016 11:36 in

Using custom fonts in Xamarin.Forms

Xamarin.Forms is a great platform for quickly making multi-platform mobile apps. Xamarin markets it as a platform that isn’t quite suited for creating complex UIs but that doesn’t necessarily have to be the case. When it comes to branding your app using a custom font can go a long way. The problem that arises is […]