All Projects → saturdaymp → XPlugins.iOS.BEMCheckBox

saturdaymp / XPlugins.iOS.BEMCheckBox

Licence: MIT license
Use the BEMCheckBox in Xamarin.

Programming Languages

C#
18002 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to XPlugins.iOS.BEMCheckBox

fscalendar-ios-binding
Xamarin Binding Library - FSCalendar for iOS https://github.com/WenchaoD/FSCalendar
Stars: ✭ 12 (-36.84%)
Mutual labels:  xamarin, xamarin-ios, xamarin-ios-binding
Arcgis Toolkit Dotnet
Toolkit for ArcGIS Runtime SDK for .NET
Stars: ✭ 125 (+557.89%)
Mutual labels:  xamarin, xamarin-ios
Xaml Code Experiences
A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.
Stars: ✭ 114 (+500%)
Mutual labels:  xamarin, xamarin-ios
Plugin.audiorecorder
Audio Recorder plugin for Xamarin and Windows
Stars: ✭ 140 (+636.84%)
Mutual labels:  xamarin, xamarin-ios
Ffimageloading
Image loading, caching & transforming library for Xamarin and Windows
Stars: ✭ 1,288 (+6678.95%)
Mutual labels:  xamarin, xamarin-ios
Xamarincontrols
Cross-platform controls for Xamarin and Xamarin.Forms.
Stars: ✭ 104 (+447.37%)
Mutual labels:  xamarin, checkbox
Connectivityplugin
Connectivity Plugin for Xamarin and Windows
Stars: ✭ 253 (+1231.58%)
Mutual labels:  xamarin, xamarin-ios
Gmimagepicker.xamarin
Port of the original GMImagePicker component to Xamarin.iOS
Stars: ✭ 65 (+242.11%)
Mutual labels:  xamarin, xamarin-ios
Simpleauth
The Simplest way to Authenticate and make Rest API calls in .Net
Stars: ✭ 148 (+678.95%)
Mutual labels:  xamarin, xamarin-ios
Workoutwotch
Repository for my video series on building an iOS app in .NET.
Stars: ✭ 156 (+721.05%)
Mutual labels:  xamarin, xamarin-ios
Microsoft.maui.graphics
Stars: ✭ 160 (+742.11%)
Mutual labels:  xamarin, xamarin-ios
Xamuidemo
Xamarin Forms Login Page UI Kit
Stars: ✭ 82 (+331.58%)
Mutual labels:  xamarin, xamarin-ios
Faceoff
An iOS, Android and UWP app created in Xamarin.Forms that uses Microsoft's Cognitive Emotion API Services to compare facial expressions
Stars: ✭ 79 (+315.79%)
Mutual labels:  xamarin, xamarin-ios
Ios Samples
Xamarin.iOS sample apps
Stars: ✭ 1,501 (+7800%)
Mutual labels:  xamarin, xamarin-ios
Googleclientplugin
Google Client Plugin for Xamarin iOS and Android
Stars: ✭ 69 (+263.16%)
Mutual labels:  xamarin, xamarin-ios
Xamarin Docs
Xamarin Documentation - public content repo
Stars: ✭ 136 (+615.79%)
Mutual labels:  xamarin, xamarin-ios
Xamarin Playground
Random cool stuff I play around using Xamarin.. :3 Some of these cool projects I feature them on my blog, with step by step explanation. :) Don't forget to check it out. Go to: theconfuzedsourcecode.wordpress.com
Stars: ✭ 183 (+863.16%)
Mutual labels:  xamarin, xamarin-ios
Facialrecognitionlogin
An iOS and Android app that uses facial recognition to enhance the security of a login page. Built using Xamarin.Forms and Microsoft Cognitive Services.
Stars: ✭ 46 (+142.11%)
Mutual labels:  xamarin, xamarin-ios
Xweather
A weather app for iOS and Android built with Xamarin
Stars: ✭ 62 (+226.32%)
Mutual labels:  xamarin, xamarin-ios
Xamarin.forms.videoplayer
A Xamarin Forms control to render the native video player on every platform.
Stars: ✭ 140 (+636.84%)
Mutual labels:  xamarin, xamarin-ios

XPlugins.iOS.BEMCheckBox

This plugin lets you use the excellent BEMCheckBox in your Xamarin iOS applications. Below outlines how to get started with BEMCheckBox in Xamarin and some common uses. For a list of all the features of the please see the BEMCheckBox GitHub page.

Installing

You can find the latest stable version of the BEMCheckBox XPlugin is avaliable via NuGet. You can find alpha builds from MyGet. If you have any trouble installing please let me know by opening an issue.

Quickstart

To create a BEMCheckBox call the constructor with a frame as shown below.

var checkbox = new SaturdayMP.XPlugins.iOS.BEMCheckBox(new CoreGraphics.CGRect(140, 40, 25, 25));

You can modify things such as making the checkbox square:

checkbox.BoxType = BEMBoxType.Square;

You can also change the animation type:

checkbox.OnAnimationType = BEMAnimationType.Fill;
checkbox.OffAnimationType = BEMAnimationType.Fill;

Yes you can set the on and off animation types to be different. You can set the color:

checkbox.OnFillColor = UIColor.Red;

To change if the checkbox is checked or not:

// Check to the checkbox.
checkbox.On = true;

// Uncheck the checkbox.
checkbox.On = false;

Finally to handle checkbox clicks setup an event:

private void CheckBoxClickedEvent(object sender, EventArgs eventArgs)
{
  var checkbox = sender as BEMCheckBox;
  if (checkbox == null)
    return;
    
  // Do what you need to do with the checkbox.
}

Then subscribe to it:

checkbox.AnimationDidStopForCheckBox += CheckBoxClickedEvent;

For a full list of settings such as animation type, colours, etc see the BEMCheckBox page.

You can also play with the BEMCheckBox settings in the Example Client. To run the Example Client open the source in Visual Studio 2017 and set the Example Client as the startup project. If the Example Client does not run please let me know.

Version Mapping

The version of this BEMCheckBox plugin will match the BEMCheckBox major and minor version number but the patch number might differ. When possible the patch number will match but if there is an issue with the wrapper that needs to be fixed then the patch number might be higher then the BEMCheckBox version.

BEMCheckBox XPlugin
1.4.1 1.4.1
1.4.1 1.4.2
1.4.1 1.4.3

Acknowledgements

Thanks to Boris Emorine for creating the BEMCheckBox.

Further Reading

Xamarin

Walkthrough: Binding an iOS Objective-C Library

Noise from the Basement

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries:

Today I Learned How to Automate Objective-c Builds in TeamCity

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].