From de5a08fa7c7aecc1abecd86b9c46fc850457567c Mon Sep 17 00:00:00 2001 From: roubachof Date: Tue, 3 Nov 2020 13:12:04 +0100 Subject: [PATCH] update version and nuspec --- README.md | 2 +- Sharpnado.Tabs.nuspec | 17 +++++++++++++---- Tabs/AssemblyInfo.targets | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 338ce97..5d71b52 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ If you want to know how to use them, it's the best place to start. Because Tabs uses platform-specific effects like tinted images and tap feedback color, you must install the nuget package in all your targeted platforms projects (netstandard, ios, android, uwp). -* On Core project in `App.xaml.cs`: +* In Core project in `App.xaml.cs`: For the namespace xaml schema to work (remove duplicates xml namespace: [see this xamarin doc](https://docs.microsoft.com/en-us/xamarin/xamarin-forms/xaml/custom-namespace-schemas)), you need to call tabs and shadows initializers from the `App.xaml.cs` file like this: diff --git a/Sharpnado.Tabs.nuspec b/Sharpnado.Tabs.nuspec index fb1ec6e..8745ffb 100644 --- a/Sharpnado.Tabs.nuspec +++ b/Sharpnado.Tabs.nuspec @@ -15,7 +15,7 @@ Including fixed tabs, scrollable tabs, bottom tabs, badge, segmented control, custom tabs, button tabs, ... xamarin.forms android ios uwp netstandard tabs segmented control bottombar fixed tabs scrollable tabs badge - First release. + Fix a spacing issue with segmented tabs. Pure Xamarin.Forms tabs: * Fixed tabs (android tabs style) @@ -33,13 +33,22 @@ Pure Xamarin.Forms tabs: Installation -------------- -* Mandatory initialization on iOS: +* In Core project, in `App.xaml.cs`: + + public App() + { + InitializeComponent(); + + Sharpnado.Tabs.Initializer.Initialize(loggerEnable: false); + ... + } + +* In iOS project: Xamarin.Forms.Forms.Init(); Sharpnado.Tabs.iOS.Preserver.Preserve(); - Sharpnado.Shades.iOS.iOSShadowsRenderer.Initialize(); -* Mandatory initialization on UWP: +* In UWP project: var rendererAssemblies = new[] { diff --git a/Tabs/AssemblyInfo.targets b/Tabs/AssemblyInfo.targets index ae024fe..4aaa4d6 100644 --- a/Tabs/AssemblyInfo.targets +++ b/Tabs/AssemblyInfo.targets @@ -3,7 +3,7 @@ Copyright © Sharpnado 2020 - 2.0.0 + 2.0.1 Sharpnado Tabs "Pure" Xamarin.Forms Tabs (no renderers). Segmented control, bottombar tabs, underlined tabs, scrollable tabs, badges...