Drastic.Hero
1.0.2
dotnet add package Drastic.Hero --version 1.0.2
NuGet\Install-Package Drastic.Hero -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Drastic.Hero" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Drastic.Hero --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Drastic.Hero, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Drastic.Hero as a Cake Addin #addin nuget:?package=Drastic.Hero&version=1.0.2 // Install Drastic.Hero as a Cake Tool #tool nuget:?package=Drastic.Hero&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Drastic.Hero
Drastic.Hero is a .NET binding of Hero for .NET iOS Platforms. It is partially based on an older binding called Xam.Hero.
Hero is a library for building iOS view controller transitions. By tagging UIView
and UIViewController
elements, you can chain views between UIViewController transitions.
How To
The same API from the previous binding applies here.
using Hero;
public class E1SourceViewController : UIViewController
{
public override void ViewDidLoad()
{
base.ViewDidLoad();
blackView.Hero().ID = "batman";
redView.Hero().ID = "ironman";
}
}
public class E1DestViewController : UIViewController
{
public override void ViewDidLoad()
{
base.ViewDidLoad();
this.Hero().IsEnabled = true;
this.Hero().SetModalAnimation(HeroDefaultAnimationType.PageIn, HeroAnimationDirection.Right);
blackView.Hero().ID = "batman";
redView.Hero().ID = "ironman";
whiteView.Hero().Modifiers = Modifiers.Fade().Duration(2);
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0-ios16.1 is compatible. net7.0-maccatalyst16.1 is compatible. net7.0-tvos16.1 is compatible. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-tvos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0-ios16.1
- No dependencies.
-
net7.0-maccatalyst16.1
- No dependencies.
-
net7.0-tvos16.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.2 | 218 | 3/31/2023 |