Xamarin Blog

An open source mobile platform for building Android, iOS, macOS, watchOS, and tvOS apps with .NET.

Android: The Swipe-Down-to-Refresh Pattern
Android: The Swipe-Down-to-Refresh Pattern
The pull-to-refresh pattern, popularized by applications like Twitter and finally integrated as a native component in iOS 6, has long been frowned upon in Android land. Because the feature is generally considered an iOS pattern, apps utilizing it on Android are sometimes regarded as "bad ports" of their iPhone counterparts. Instead of ...
iOS 7 Coming to Xamarin
iOS 7 Coming to Xamarin
During the keynote yesterday at WWDC, Apple announced that iOS 7 will introduce over 1500 new APIs for developers. Some of the most exciting improvements include: We’re thrilled to see Apple advance its platform with this major update–and we’re looking forward to seeing how the 330,000 developers who use Xamarin put ...
Exploring Android Property Animations
Exploring Android Property Animations
In the Xaminar about Android animations that we published earlier this year, we discussed how recent versions of Google's mobile platform introduce lots of powerful features for animating user interfaces. In that talk, I mentioned the property animation API, which lets you animate any object property—including non-graphical ...
Introducing Objective Sharpie
Introducing Objective Sharpie
UPDATED (December 2014): a new overhauled version of Objective Sharpie has been publicly released. The original contents of this blog post have been removed to avoid confusion as the new version is quite different (and that's a very good thing). See you in the forums...
Using custom Fonts in Xamarin.iOS
Using custom Fonts in Xamarin.iOS
Apple introduced a great feature when it released the iOS 3.2 SDK way back in 2009: support for adding custom fonts to apps. Since then, developers have made their apps stand out by using different fonts. Although adding fonts should be a very simple process, developers often express confusion over how to do it for Xamarin.iOS apps. The ...
Producing Better Bindings #4: Signatures
Producing Better Bindings #4: Signatures
This blog post is about producing better bindings of Objective-C libraries for Xamarin.iOS and Xamarin.Mac. Read the series introduction to get a better idea why this is important and how it can save you time and headaches. What can go wrong ? Binding a selector using a correct [Export("")] attribute is only half the job. The .NET ...
Comments are closed.0iOS
Producing Better Bindings #3: Selectors
Producing Better Bindings #3: Selectors
This blog post is about producing better bindings of Objective-C libraries for Xamarin.iOS and Xamarin.Mac. Read the series introduction to get a better idea why this is important and how it can save you time and headaches. What can go wrong ? Binding selectors is largely done using the [Export("")] attribute. As such, it shares a lot ...
Comments are closed.0iOS
Producing Better Bindings #2: Fields
Producing Better Bindings #2: Fields
This blog post is about producing better bindings of Objective-C libraries for Xamarin.iOS and Xamarin.Mac. Read the series introduction to get a better idea why this is important and can save you time and headaches. What can go wrong ? Maybe nothing! Not every library use fields, e.g. there are no fields in the Cocos2D library. However...
Comments are closed.0iOS
Producing Better Bindings #1: Constructors
Producing Better Bindings #1: Constructors
This blog post is about producing better .NET bindings for using Objective-C libraries on Xamarin.iOS and Xamarin.Mac. Read the series introduction to get a better idea of why this is important and how it can save you time and headaches. What can go wrong ? It's not immediately obvious, but Objective-C object initialization (init... ...
Comments are closed.0iOS
Producing Better Bindings for Xamarin.iOS and Xamarin.Mac
Producing Better Bindings for Xamarin.iOS and Xamarin.Mac
For .NET developers with some knowledge of Objective-C, writing .NET bindings for Objective-C libraries is not very hard. It is well documented and several complete examples are available to guide you. Still, the process can be quite error-prone. Many typos and mistakes will only be caught at runtime and only when you use the specific ...
Comments are closed.0iOS