All Projects → tornikegomareli → PastelXamarinIos

tornikegomareli / PastelXamarinIos

Licence: MIT license
🌒 Gradient animations on Xamarin-iOS

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to PastelXamarinIos

Xamarin.iOS.DGActivityIndicatorView
🔰 DGActivityIndicatorView is a collection of nice loading animations for Xamarin.iOS.
Stars: ✭ 28 (+64.71%)
Mutual labels:  xamarin, animations, xamarin-ios
SKOR.UI
UI Controls for Xamarin.Forms
Stars: ✭ 56 (+229.41%)
Mutual labels:  xamarin, xamarin-ios
Prototype.Forms.Controls
This sample app contains a random mixture of Xamarin/Xamarin.Forms controls, views, and functionality snippets that I've created.
Stars: ✭ 21 (+23.53%)
Mutual labels:  xamarin, xamarin-ios
ARKitXamarinDemo
ARKit + UrhoSharp + Xamarin
Stars: ✭ 42 (+147.06%)
Mutual labels:  xamarin, xamarin-ios
XamUI
Xamarin UI Challenges 🏆
Stars: ✭ 57 (+235.29%)
Mutual labels:  xamarin, xamarin-ios
LaunchMapsPlugin
Launch External Maps Plugin for Xamarin and Windows
Stars: ✭ 49 (+188.24%)
Mutual labels:  xamarin, xamarin-ios
XamarinHOL
Xamarin ハンズオン用のレポジトリ&ドキュメントです。
Stars: ✭ 52 (+205.88%)
Mutual labels:  xamarin, xamarin-ios
Connectivityplugin
Connectivity Plugin for Xamarin and Windows
Stars: ✭ 253 (+1388.24%)
Mutual labels:  xamarin, xamarin-ios
WheelPicker-Samples
WheelPicker samples for the WheelPicker Xamarin Component
Stars: ✭ 18 (+5.88%)
Mutual labels:  xamarin, xamarin-ios
XamSvg-Samples
Samples for Xamarin Svg enterprise cross platform and full featured Svg image control
Stars: ✭ 25 (+47.06%)
Mutual labels:  xamarin, xamarin-ios
VersionTrackingPlugin
Version Tracking Plugin for Xamarin and Windows
Stars: ✭ 62 (+264.71%)
Mutual labels:  xamarin, xamarin-ios
GradientAnimator
GradientAnimator helps to fill your view with vibrant gradient theme colours and animates them to give a stunning view to your application design
Stars: ✭ 70 (+311.76%)
Mutual labels:  animations, gradient
Cognitive-Face-Xamarin
A client library that makes it easy to work with the Microsoft Cognitive Services Face API on Xamarin.iOS, Xamarin.Android, and Xamarin.Forms and/or Portable Class Libraries.
Stars: ✭ 18 (+5.88%)
Mutual labels:  xamarin, xamarin-ios
DrinksGalleryApp
Xamarin.Forms goodlooking UI sample using the new CarouselView (Parallax).
Stars: ✭ 51 (+200%)
Mutual labels:  xamarin, animations
XPlugins.iOS.BEMCheckBox
Use the BEMCheckBox in Xamarin.
Stars: ✭ 19 (+11.76%)
Mutual labels:  xamarin, xamarin-ios
Wires
Light binding library for Xamarin
Stars: ✭ 34 (+100%)
Mutual labels:  xamarin, xamarin-ios
Xamarin Forms Page Transitions
Custom page transitions in a Xamarin.Forms App
Stars: ✭ 200 (+1076.47%)
Mutual labels:  xamarin, animations
Xamarin Demos
This repository contains the Syncfusion Xamarin UI control’s samples and the guide to use them.
Stars: ✭ 218 (+1182.35%)
Mutual labels:  xamarin, xamarin-ios
Xamarin.Plugin.ImageEdit
Image Edit Plugin for Xamarin
Stars: ✭ 52 (+205.88%)
Mutual labels:  xamarin, xamarin-ios
UITestSampleApp
A sample app to demonstrate how to create Xamarin UITests using the Page Object architecture, Backdoor Methods and App Links (aka Deep Linking)
Stars: ✭ 38 (+123.53%)
Mutual labels:  xamarin, xamarin-ios

🚀🚀

C# CI Status Version Platform license

pastel_01.gif pastel_02.gif pastel_03.gif

Pastel library Xamarin-iOS version

Pastel is swift library for gradient animation effects, we've inspired from this project. Xamarin-iOS didn't had anything like gradient animation library, so we rewrited C# version of it for Xamarin.

Installing / Getting started

You can install library from the NuGet Packages. https://www.nuget.org/packages/MPDC.Xamarin.iOS.Pastel

From the console you can

PM> Install-Package MPDC.Xamarin.iOS.Pastel	

Developing

This project is in very begining stage, so if you have some improvements or bug fixes, feel free to send PR

Example

public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            // Initializing pastelView object
            var pastelView = new MPDCPastelXamarinIOS.PastelView(View.Bounds);

            pastelView.AnimationDuration = 2.0;

            // init start point and end point
            
            pastelView.StartPoint = PastelPoint.BottomLeft.Point();
            pastelView.EndPoint = PastelPoint.TopRight.Point();

            // seting  colors
            pastelView.SetColors(PastelGradient.WinterNeva.Colors());
            
            // pastelView.AddColor(SecondGradientColor); 

            pastelView.StartAnimation();
            View.InsertSubview(pastelView,0);
        }
}

You need to include MPDCPastelXamarinIOS.Extensions namespace to use Colors and Point extension methods.

In PastelGradient enum, we have some custom gradient colors

  • Warflame
  • NightFade
  • SpringWarmth
  • JuicyPeach
  • YoungPassion
  • LadyLips
  • SunnyMorning
  • RainyAshville
  • FrozenDreams
  • WinterNeva

You can use this custom colors, or feel free to add some more gradient colors.

In SetColors method you can implement and add your own colors array.

pastel_gradients_gif_01

For startpoint and endpoint you have 8 point choice.

  • Left
  • Top
  • Right
  • Bottom
  • TopLeft
  • TopRight
  • BottomLeft
  • BottomRight

Contributing

"If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome."

Credits

This software uses some code examples from open source Swift Pastel project.

Authors

Licensing

"The code in this project is licensed under MIT license."

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].