Skip to content

Commit ec47028

Browse files
committed
Merge branch 'MacOS' of https://github.com/xabre/xamarin-forms-tab-badge into MacOS
2 parents f2cafa1 + d52931e commit ec47028

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

README.md

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,23 @@
66

77
## Support & Limitations
88

9-
| Feature / Availability | Xamarin.Android\* | Xamarin.iOS | UWP\*\*\* |
10-
| ------------- | ----------- | ----------- | ----------- |
11-
| Bindable Badge Text || ✓ (iOS >=8.0) ||
12-
| Bindable Badge Color || ✓ (iOS >= 10.0) ||
13-
| Bindable Badge Text Color || ✓ (iOS >= 10.0) ||
14-
| Bindable Badge Font |\*\* |\*\*(iOS >= 10.0) ||
15-
| Dynamic tab add/removal || On overflow, 'More' / '...' menu don't have badges...yet. ||
9+
| Feature / Availability | Xamarin.Android (1) | Xamarin.iOS | UWP (2) | MacOS (3) |
10+
| ------------- | ----------- | ----------- | ----------- | ----------- |
11+
| Bindable Badge Text || ✓ (iOS >=8.0) |||
12+
| Bindable Badge Color || ✓ (iOS >= 10.0) |||
13+
| Bindable Badge Text Color || ✓ (iOS >= 10.0) |||
14+
| Bindable Badge Font |\* |\*(iOS >= 10.0) | ||
15+
| Dynamic tab add/removal || On overflow, 'More' / '...' menu don't have badges. | ||
1616

1717
\***Caution**: For Xamarin.Forms Android make sure to use AppCompat. I.e.inherit from FormsAppCompatActivity
18-
\*Min Android **API level 15**
1918

20-
\*\***Font restrictions**: able to bind font attributes and family but not size
19+
\*(1) Min Android **API level 15**
20+
21+
\*(2) **Min UWP version**: Win 10 November Update.
2122

22-
\*\*\* **Min UWP version**: Win 10 November Update.
23+
\*(3) **MacOS version**: Depends on Xamarin Forms 2.3.5-pre6 at the moment.
24+
25+
\*\***Font restrictions**: able to bind font attributes and family but not size
2326

2427
## Installation
2528

@@ -31,20 +34,12 @@ Install-Package Plugin.Badge
3134
// or pre-release
3235
Install-Package Plugin.Badge -Pre
3336
```
34-
[![NuGet](https://img.shields.io/nuget/v/Plugin.Badge.svg?label=NuGet)](https://www.nuget.org/packages/Plugin.Badge) [![NuGet Beta](https://img.shields.io/nuget/vpre/Plugin.Badge.svg?label=NuGet Beta)](https://www.nuget.org/packages/Plugin.Badge)
35-
37+
[![NuGet](https://img.shields.io/nuget/v/Plugin.Badge.svg?label=NuGet&style=flat-square)](https://www.nuget.org/packages/Plugin.Badge) [![NuGet Beta](https://img.shields.io/nuget/vpre/Plugin.Badge.svg?label=NuGet%20Beta&style=flat-square)](https://www.nuget.org/packages/Plugin.Badge)
3638

37-
### iOS
38-
39-
You have to register the custom renderer. I usually put this in the AssemblyInfo.cs file of my iOS csproj.
40-
41-
```
42-
[assembly: ExportRenderer(typeof(TabbedPage), typeof(BadgedTabbedPageRenderer))]
43-
```
4439

45-
### Android
40+
### iOS, Android, UWP, MacOS
4641

47-
You have to register the custom renderer. I usually put this in the AssemblyInfo.cs file of my Android csproj.
42+
You have to register the custom renderer. I usually put this in the AssemblyInfo.cs file of my Platform specific project (iOS, Android, UWP, MacOS) csproj.
4843

4944
```
5045
[assembly: ExportRenderer(typeof(TabbedPage), typeof(BadgedTabbedPageRenderer))]

0 commit comments

Comments
 (0)