saturdaymp / xplugins.ios.bemcheckbox Goto Github PK
View Code? Open in Web Editor NEWUse the BEMCheckBox in Xamarin.
Home Page: https://saturdaymp.com
License: MIT License
Use the BEMCheckBox in Xamarin.
Home Page: https://saturdaymp.com
License: MIT License
Hello,
The existing version won't work as is with net6.0-ios due to breaking changes. These are also documented here.
Right now you get the following error - error NU1202: Package SaturdayMP.XPlugins.iOS.BEMCheckBox 1.4.3 is not compatible with net6.0-ios15.2 (.NETCoreApp,Version=v6.0). Package SaturdayMP.XPlugins.iOS.BEMCheckBox 1.4.3 supports: xamarinios10 (Xamarin.iOS,Version=v1.0)
Do you have any plans to support net6.0-ios since the GA is scheduled for Q2 2022?
The samples from https://github.com/xamarin/xamarin-macios/tree/main/tests/dotnet might be helpful.
Thank you,
Cosmin
There hasn't been a new release of BEMCheckBox and it appears that no new release is forth coming. There are a couple fixes that have been committed to since the official BEMCheckBox 1.4.1 release. It would be nice to incorporate those changes.
Edit (Aug 8, 23): The BEMCheckBox has been forked and a new a v2.0.0 release created. Try to use this release.
The example program currently uses Xamarin Forms 2 and should be upgraded to 4.
Currently using GitVersion 3. Upgrade to GitVersion 4 which will likely require some changes to the GitVersion.yml file.
I'm using version 1.4.3.
Xamarin.iOS
Version: 13.18.1.31 (Visual Studio Community)
Hash: b3eedfed9
Branch: d16-6
Build date: 2020-04-09 10:22:36-0400
Neither DidTapCheckBox nor AnimationDidStopForCheckBox subscription are working.
The event method is not called.
BEMCheckBox checkbox = new BEMCheckBox { TranslatesAutoresizingMaskIntoConstraints = false };
// Wire the check event
checkbox.DidTapCheckBox += Checkbox_DidTapCheckBox;
...
private void Checkbox_DidTapCheckBox(object sender, EventArgs e)
{
throw new NotImplementedException();
}
What could be wrong?
When compiling the ExampleClient, I'm getting the following build error:
The type or namespace name 'SaturdayMP' could not be found (are you missing a using directive or an assembly reference?)
The SaturdayMP.XPlugins.iOS.BEMCheckBox project has generated the c# classes in the /obj/ios/SaturdayMPXPluginsiOS folder. But the generated public classes are not available in the ExampleClient project.
Currently the project is built on TeamCity. It would be great if it was built using GitHub actions instead.
I have set of four CheckBoxes
inside CheckBoxGroup
to mimic the behavior of RadioButtonGroup
.
There are no bindable properties inside CheckBox
class which I can use with MvvmCross
(or maybe I just didn't find them?). Thus I wanted to subscribe on DidTapCheckBox
or AnimationDidStopForCheckBox
events and Execute
a command from ViewModel
on the events.
Events are invoked perfectly without CheckBoxGroup
. But if I add them to CheckBoxGroup
then no handlers are called at all, nor DidTapCheckBox
nor AnimationDidStopForCheckBox
. It seems like CheckBoxGroup
consumes a user's tap, changes its own CheckBoxGroup.SelectedCheckBox
and then suppress the tap propagation, so no DidTapCheckBox
event is fired on any single CheckBox
.
Actually, it's reasonable behavior for a group of controls but the problem is that CheckBoxGroup
does not expose external event I can subscribe on to know when CheckBoxGroup.SelectedCheckBox
was changed. Or maybe I should use another mechanism for it?
var dev = new BEMCheckBox();
var test = new BEMCheckBox();
var demo = new BEMCheckBox();
var live = new BEMCheckBox();
dev .DidTapCheckBox += (_,__) => ViewModel.Dev .ExecuteAsync();
test.DidTapCheckBox += (_,__) => ViewModel.Test.ExecuteAsync();
demo.DidTapCheckBox += (_,__) => ViewModel.Demo.ExecuteAsync();
live.DidTapCheckBox += (_,__) => ViewModel.Live.ExecuteAsync();
var boxGroup = new BEMCheckBoxGroup()
{
//SelectedCheckBox = dev,
//MustHaveSelection = true
};
boxGroup.AddCheckBoxToGroup(dev);
boxGroup.AddCheckBoxToGroup(test);
boxGroup.AddCheckBoxToGroup(demo);
boxGroup.AddCheckBoxToGroup(live);
Could you please add the missing didTapCheckBox event from BEMCheckBox library. Thanks!
Hi,
i have included this nuget package in my project, and i face issue for compiling in bitcode enable. Can i know how can i use this package in bitcode enable project? Thanks.
Below is the error message from submission to iTune Connect.
ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'InstantApp.BoostOrder.Customer.Touch.app/Frameworks/BEMCheckBox.framework/BEMCheckBox' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."
Add a Summary, Copyright, and Tags to the NuGet package spec.
Currently we don't have an icon for the project. I wonder if Liv can draw something for me?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.