Skip to content

Commit

Permalink
Merge pull request #28 from saturdaymp/release/v3.0
Browse files Browse the repository at this point in the history
Merge v3.0.0 and v3.0.1 changes into master
  • Loading branch information
mrbiggred authored Oct 17, 2023
2 parents bca3e73 + 7d6b66b commit 78f5de7
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 13 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: CI
on: [push]

on:
push:
branches: [ master, release/* ]
tags: [ v* ]
pull_request:
branches: [ master, release/* ]

jobs:
build:
Expand Down
40 changes: 39 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,44 @@
## v2.0.0 (Aug, 14, 2023)
## v3.0.1 (Oct, 14, 2023)


As part of this release we had [2 issues](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/milestone/5?closed=1) closed.

Fixed issues with v3.0.0 release that had the minimum iOS version of the Nuget package set to 16.1 instead of 12.0.

__DevOps__

- [__#26__](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/pull/26) Update minimum iOS version in NuGet Package to 12 instead of 16

__Documentation__

- [__#27__](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/pull/27) Update readme with minimum ios version

## v3.0.0 (Oct, 14, 2023)


As part of this release we had [2 issues](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/milestone/4?closed=1) closed.

Upgraded to .NET 6 iOS (net6.0-ios). If you need Xamarin support please try the v2 release.

__DevOps__

- [__#25__](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/pull/25) Prepare for v3.0.0 release

__Enhancement__

- [__#15__](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/issues/15) net6.0-ios migration

## v2.0.0 (Aug, 17, 2023)


The underlying BEMCheckBox [v2.0.0](https://github.com/saturdaymp/BEMCheckBox/releases/tag/v2.0.0) has some breaking changes that affect this Xamarin wrapper:

- Minimum iOS version was increased from 8.4 to 12.
- Events renamed
- `DidTapCheckBox` renamed to `DidTap`
- `AnimationDidStopForCheckBox` to `AnimationDidStopFor`


As part of this release we had [10 issues](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/milestone/3?closed=1) closed.


Expand Down
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
This plugin lets you use the [BEMCheckBox](https://github.com/saturdaymp/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](https://github.com/saturdaymp/BEMCheckBox).

# Installing
You can find the latest stable version of the BEMCheckBox XPlugin is avaliable via [NuGet](https://www.nuget.org/packages/SaturdayMP.XPlugins.iOS.BEMCheckBox/). You can find alpha builds from [MyGet](https://www.myget.org/feed/saturdaymp/package/nuget/SaturdayMP.XPlugins.iOS.BEMCheckBox). If you have any trouble installing please let me know by opening an [issue](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/issues).
XPlugins is a NuGet Package and can be installed using the dotnet command line:

```
dotnet add package SaturdayMP.XPlugins.iOS.BEMCheckBox
```

You can find other ways to install the latest stable version of the BEMCheckBox XPlugin via [NuGet](https://www.nuget.org/packages/SaturdayMP.XPlugins.iOS.BEMCheckBox/). You can find work in progress (WIP) and alpha builds on [MyGet](https://www.myget.org/feed/saturdaymp/package/nuget/SaturdayMP.XPlugins.iOS.BEMCheckBox). If you have any trouble installing please let me know by opening an [issue](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/issues).

# Quickstart
To create a BEMCheckBox call the constructor with a frame as shown below.
Expand Down Expand Up @@ -71,19 +77,21 @@ You can also play with the BEMCheckBox settings in the [Example Client](https://
# 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 | Frameworks/Versions |
| XPlugin | BEMCheckBox | Frameworks/Versions |
| ---: | ---: | ---: |
| [1.4.1](https://github.com/saturdaymp/BEMCheckBox/releases/tag/1.4.1) | [1.4.1](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/1.4.1) | Xamarin.iOS/xamarinios10
| [1.4.1](https://github.com/saturdaymp/BEMCheckBox/releases/tag/1.4.1) | [1.4.2](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/1.4.2) | Xamarin.iOS/xamarinios10
| [1.4.1](https://github.com/saturdaymp/BEMCheckBox/releases/tag/1.4.1) | [1.4.3](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/1.4.3) | Xamarin.iOS/xamarinios10
| [2.0.0](https://github.com/saturdaymp/BEMCheckBox/releases/tag/2.0.0) | [2.0.0](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/2.0.0) | Xamarin.iOS/xamarinios10
| [1.4.1](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/1.4.1) | [1.4.1](https://github.com/saturdaymp/BEMCheckBox/releases/tag/1.4.1) | Xamarin.iOS/xamarinios10
| [1.4.2](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/1.4.2) | [1.4.1](https://github.com/saturdaymp/BEMCheckBox/releases/tag/1.4.1) | Xamarin.iOS/xamarinios10 |
| [1.4.3](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/1.4.3) | [1.4.1](https://github.com/saturdaymp/BEMCheckBox/releases/tag/1.4.1) | Xamarin.iOS/xamarinios10
| [2.0.0](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/2.0.0) | [2.0.0](https://github.com/saturdaymp/BEMCheckBox/releases/tag/2.0.0) | Xamarin.iOS/xamarinios10
| [3.0.0](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/3.0.0) | [2.0.0](https://github.com/saturdaymp/BEMCheckBox/releases/tag/2.0.0) | net6.0-ios16.1
| [3.0.1](https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox/releases/tag/3.0.0) | [2.0.0](https://github.com/saturdaymp/BEMCheckBox/releases/tag/2.0.0) | net6.0-ios12

# Acknowledgements
Thanks to [Boris Emorine](https://github.com/Boris-Em) for creating the BEMCheckBox.

# Further Reading
## Xamarin
[Walkthrough: Binding an iOS Objective-C Library](https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/)
## Microsoft Learning
[Walkthrough: Bind an iOS Swift library](https://learn.microsoft.com/en-ca/xamarin/ios/platform/binding-swift/walkthrough)

## Noise from the Basement
Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries:
Expand All @@ -93,3 +101,5 @@ Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries:
* [Part 4](https://nftb.saturdaymp.com/today-i-learned-how-to-create-a-xamarin-ios-binding-for-objective-c-libraries-part-4-the-actual-binding/)

[Today I Learned How to Automate Objective-c Builds in TeamCity](https://nftb.saturdaymp.com/today-i-learned-how-to-automate-objective-c-builds-in-teamcity/)

The above is bit outdated as the BEMCheckBox is now a Swift project but the overall steps are the same.
4 changes: 2 additions & 2 deletions Source/ExampleClient/ExampleClient.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-ios</TargetFramework>
<TargetFramework>net6.0-ios12</TargetFramework>
<OutputType>Exe</OutputType>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<SupportedOSPlatformVersion>13.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion>12.0</SupportedOSPlatformVersion>
<LangVersion>10</LangVersion>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-ios</TargetFramework>
<TargetFramework>net6.0-ios12</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<IsBindingProject>true</IsBindingProject>
Expand Down

0 comments on commit 78f5de7

Please sign in to comment.