Starwars.ios

This component implements transition animation to crumble view-controller into tiny pieces.
Alternatives To Starwars.ios
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Scrollreveal21,7162,5048324 days ago72March 05, 202130JavaScript
Animate elements as they scroll into view.
Material Animations13,282
4 years ago19mitJava
Android Transition animations explanation with examples.
Barba10,97771517 days ago67January 16, 20202mitTypeScript
Create badass, fluid and smooth transitions between your website’s pages.
Lax.js10,0462297 months ago15December 28, 202015mitJavaScript
Simple & lightweight (<4kb gzipped) vanilla JavaScript library to create smooth & beautiful animations when you scroll.
React Transition Group9,77147,7156,1635 months ago43August 01, 2022218otherJavaScript
An easy way to perform animations when a React component enters or leaves the DOM
React Native Animatable9,4982,1303384 months ago23October 13, 2019209mitJavaScript
Standard set of easy to use animations and declarative transitions for React Native
Macaw5,940
212 months ago11April 10, 2020135mitSwift
Powerful and easy-to-use vector graphics Swift library with SVG support
Ramjet5,4412377 years ago9February 05, 201611mitJavaScript
Morph DOM elements from one state to another with smooth animations and transitions
Expanding Collection5,226
153 years ago26September 26, 201828mitSwift
:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion - https://www.ramotion.com/agency/app-development/
React Burger Menu4,8629401416 months ago136January 01, 20237mitJavaScript
:hamburger: An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations
Alternatives To Starwars.ios
Select To Compare


Alternative Project Comparisons
Readme

StarWars Animation

Platform License

This component implements transition animation to crumble view-controller into tiny pieces.

Yalantis

Preview

Check this project on dribbble.

Also, read how it was done in our blog

Requirements

  • iOS 8.0+
  • Xcode 8
  • Swift 4

Installing with CocoaPods

use_frameworks!
pod 'StarWars', '~> 2.0'

Usage

At first, import StarWars:

import StarWars

Then just implement class of UIViewControllerTransitioningDelegate that will return our animation form method animationControllerForDismissedController and assign it to transitioningDelegate of viewController that you want to dismiss.

override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
    let destination = segue.destinationViewController
    destination.transitioningDelegate = self
}

func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
    return StarWarsGLAnimator()
}

There are also two things you can customize in the Star Wars animation: duration and sprite sizes. Let’s see how you can do this:

let animator = StarWarsGLAnimator()
animator.duration = 2
animator.spriteWidth = 8

Have fun! :)

Let us know!

We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation.

P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned!

Version history

  • 1.0 Swift 2.0
  • 2.0 Adds Swift 3.0 support
  • 3.0 Adds Swift 4.0 support
  • 4.0 Adds Swift 5.0 support

License

The MIT License (MIT)

Copyright © 2018 Yalantis

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Popular Animation Projects
Popular Transition Projects
Popular User Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Swift
Animation
Opengl
Transition
Star Wars
Transition Animation
Yalantis