Skip to content

Commit

Permalink
update version and nuspec
Browse files Browse the repository at this point in the history
roubachof committed Nov 3, 2020
1 parent 61fc611 commit de5a08f
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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:

17 changes: 13 additions & 4 deletions Sharpnado.Tabs.nuspec
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<repository type="git" branch="master" url="https://github.com/roubachof/Sharpnado.Tabs" />
<summary>Including fixed tabs, scrollable tabs, bottom tabs, badge, segmented control, custom tabs, button tabs, ...</summary>
<tags>xamarin.forms android ios uwp netstandard tabs segmented control bottombar fixed tabs scrollable tabs badge</tags>
<releaseNotes>First release.</releaseNotes>
<releaseNotes>Fix a spacing issue with segmented tabs.</releaseNotes>
<description>
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[]
{
2 changes: 1 addition & 1 deletion Tabs/AssemblyInfo.targets
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<PropertyGroup>
<Copyright>Copyright © Sharpnado 2020</Copyright>
<Version>2.0.0</Version>
<Version>2.0.1</Version>
<Company>Sharpnado</Company>
<Product>Tabs</Product>
<Description>"Pure" Xamarin.Forms Tabs (no renderers). Segmented control, bottombar tabs, underlined tabs, scrollable tabs, badges...</Description>

0 comments on commit de5a08f

Please sign in to comment.