NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #1174 most downloaded on NuGet
A library to make things cross-platform that should be.
Latest stable
21.0.0
Last release 3 months ago
03 Aug 2026
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
127 years old
134 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Fix a bug in logging where we'd fail to call String.Format properly (#43, thanks @simoncropp)
A Windows Forms implementation of BitmapLoader - not set by default (since WPF and WinForms can be in the same project), access it via Splat.WinForms
Splat.WinForms (#37, thanks @rzhw!)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Initialize the service locator on startup
InitializeSplat()Splat now ships with a built in Service Locator (#32). This allows you to register interfaces in your platform-specific code and use them in a Portabl
Splat now ships with a built in Service Locator (#32). This allows you to register interfaces in your platform-specific code and use them in a Portable Library. While you can set up your own resolver using any 3rd party IoC container, Splat also has a quite capable built-in one that is configured by default.
// In the startup code for your app
Locator.CurrentMutable.Register(() => new AndroidAlertDialog(), typeof(IAlertDialog));
// Later, in your portable ViewModel
var alertDlg = Locator.Current.GetService<IAlertDialog>();
await alertDlg.ShowAlert("It worked!");
This feature is based on ReactiveUI 5.0's Service Locator, so the documentation in ReactiveUI also applies great here.
Continuing the "Steal from ReactiveUI" theme, Splat now also ships with a common logging platform (#33). This allows libraries to be able to handle logging in a framework-neutral way, while getting a sensible default logger that will just spew to stdout.
// Add this to your class
class Toaster : IEnableLogger
// Now, in your method code
this.Log().Warn("Oh no!");
this.Log().ErrorException("Something Bad happened", ex);
The ReactiveUI-based docs for this feature can be found here
A new method has been added to Rectangle, called Copy, which allows you to copy a Rectangle with modifications (#34) - thanks @tberman!
Color.ToNative had parameters flipped (#35) - thanks @tberman!Splat now is post-1.0, which means that SemVer's breaking change rules kick in - now Splat's API will remain stable until 2.0.
Splat now is post-1.0, which means that SemVer's breaking change rules kick in - now Splat's API will remain stable until 2.0.
In previous versions of Splat, you might have gotten weird compilation errors while using Color - these should be fixed now. As part of this change, the Splat.Portable.dll library is dead - everything is now in Splat.dll, but now there is a PLib version of Splat.dll. Link to the PLib version in your portable code, link to the platform-specific version in your app, and everything will work.
Thanks to @rzhw, image loading / saving in Cocoa (Mac+iOS) is now thread-safe!
Fix WP8 cross-thread bitmap loading for reals this time.
Fix WinRT bitmap loading (again), and enable anti-aliasing (#24, thanks @christianlang!)
On iOS, you have to pass the extension to Splat in order to load an image via resource:
On iOS, you have to pass the extension to Splat in order to load an image via resource:
var img = BitmapLoader.Current.LoadFromResource("DefaultAvatar.png");
However, on Android, the generated Resource class doesn't include the extensions (rightfully so!), so the same code dies with a "Resource not found", even if you named it the same. With this PR, you can now name resources the same way and we'll guess to try to remove the extension
Bitmap performance enhancements to Xamarin.Mac. Thanks @jonlipsky!
Now, you can load resource bitmaps via a name
Now, you can load resource bitmaps via a name
var defaultUser = await BitmapLoader.Current.LoadByResource("defaultUser.png", null, null);
For Android, you can do one of two things, either cast the resource to string:
var defaultUser = await BitmapLoader.Current.LoadByResource(R.Drawable.DefaultUser.ToString(), null, null);
or, you can use the name of a Drawable:
var defaultUser = await BitmapLoader.Current.LoadByResource("DefaultUser", null, null);
Splat now ports over GitHub's Archimedes so that you can do cross-platform geometry manipulation. These are implemented as extension methods on Point, Rect, and Size:
var pt1 = new PointF(0.0f, 0.0f);
var pt2 = new PointF(5.0f, 5.0f);
pt1.DistanceTo(pt2);
>>> 7.07f
Splat now makes System.Drawing's geometry primitives (Point / Size / Rect) cross-platform by copying code from the Mono project for platforms that can
Splat now makes System.Drawing's geometry primitives (Point / Size / Rect) cross-platform by copying code from the Mono project for platforms that cannot directly add a reference to System.Drawing. Just like everything else, these classes now have a ToNative and FromNative methods to convert them to the platform-specific classes.
Thanks to @distantcam for adding this support!
Color.ToNative where the this keyword was left off, thereby not making it an extension method.Add back missing ToNative / FromNative mixins on Windows
ToNative / FromNative mixins on WindowsNothing published for this version
Nothing published for this version
One column per quarter.