Skip to content

Instantly share code, notes, and snippets.

@fdundjer

fdundjer/Setup.cs

Created Jan 25, 2021
Embed
What would you like to do?
using HTEC.TargetBinding.Core;
using HTEC.TargetBinding.iOS.Bindings;
using HTEC.TargetBinding.iOS.Controls;
using MvvmCross.Binding.Bindings.Target.Construction;
using MvvmCross.Platforms.Ios.Core;
namespace HTEC.TargetBinding.iOS
{
public class Setup : MvxIosSetup<App>
{
protected override void FillTargetFactories(IMvxTargetBindingFactoryRegistry registry)
{
registry.RegisterPropertyInfoBindingFactory(typeof(TintColorMvxTargetBinding), typeof(CustomUIImageView), nameof(CustomUIImageView.TintColor));
base.FillTargetFactories(registry);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment