All Projects → IvanVorobei → Twitterlaunchanimation

IvanVorobei / Twitterlaunchanimation

Licence: mit
The library with Twitter-like launch animation

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Twitterlaunchanimation

Vectorlogozone
3,000+ gorgeous SVG logos, perfect for your README or credits page
Stars: ✭ 239 (+8.14%)
Mutual labels:  vector, logo
Ml Logos
📷 ✨ SVG logos for various ML libraries
Stars: ✭ 99 (-55.2%)
Mutual labels:  vector, logo
Logos Per Banks
LogoS is a design project about logos. In clean vector and organized as libraries to use. This one includes logos of Banks and Payment Gateways of Iran
Stars: ✭ 143 (-35.29%)
Mutual labels:  vector, logo
Twidere Android
twidere.com
Stars: ✭ 2,486 (+1024.89%)
Mutual labels:  twitter
Ngx Avatar
Universal avatar component for angular 2+ applications makes it possible to fetch / generate avatar from different sources
Stars: ✭ 210 (-4.98%)
Mutual labels:  twitter
Dttextfield
DTTextField is a custom textfield with floating placeholder and error label
Stars: ✭ 213 (-3.62%)
Mutual labels:  xcode
Twitter Bot Bootstrap
Twitter bot bootstrap 👢 using node and twit 🐦
Stars: ✭ 220 (-0.45%)
Mutual labels:  twitter
Logo
A Logo interpreter written in Swift
Stars: ✭ 207 (-6.33%)
Mutual labels:  logo
Sbtuitesttunnel
Enable network mocks and more in UI Tests
Stars: ✭ 215 (-2.71%)
Mutual labels:  xcode
Periphery
A tool to identify unused code in Swift projects.
Stars: ✭ 3,017 (+1265.16%)
Mutual labels:  xcode
Photobrowser
PhotoBrowser is a light weight photo browser, like the wechat, weibo image viewer.
Stars: ✭ 211 (-4.52%)
Mutual labels:  twitter
Xcodesourceeditorextension Alignment
This Xcode source editor extension align your assignment statement.
Stars: ✭ 211 (-4.52%)
Mutual labels:  xcode
Amloginsignup
Login/Signup ViewController for iOS
Stars: ✭ 215 (-2.71%)
Mutual labels:  xcode
Linex
Feature packed Xcode extension
Stars: ✭ 210 (-4.98%)
Mutual labels:  xcode
Iosdevicesupport
各个版本的iOS Device Support
Stars: ✭ 217 (-1.81%)
Mutual labels:  xcode
Tweetledee
A PHP library that provides an incredibly easy way to access Twitter data as JSON or RSS feed by URL or standard CLI syntax.
Stars: ✭ 208 (-5.88%)
Mutual labels:  twitter
Harpy
A Twitter app built with Flutter
Stars: ✭ 211 (-4.52%)
Mutual labels:  twitter
Starter Kit
Some useful R-Ladies files 💜 🌍
Stars: ✭ 211 (-4.52%)
Mutual labels:  logo
Ripme
Downloads albums in bulk
Stars: ✭ 2,748 (+1143.44%)
Mutual labels:  twitter
Fastlane Plugin Test center
🎯 The best fastlane plugin to understand and tame misbehaving iOS tests 🎉
Stars: ✭ 214 (-3.17%)
Mutual labels:  xcode

About

Twitter-like launchscreen animation. There are a lot of projects on Github with the same objective, but this one is very similar to the original animation and you can use it in your project in a very simple way

Requirements

Xcode 8 and Swift 3. Ready for use on iOS 8+

Integration

Drop in Sparrow folder to your Xcode project (make sure to enable "Copy items if needed" and "Create groups").

Or via CocoaPods:

pod 'Sparrow/LaunchAnimation’, :git => 'https://github.com/IvanVorobei/Sparrow.git

How to use

Add just one line of code in AppDelegate file:

SPLaunchAnimation.asTwitter(onWindow: self.window!)

Really simple, doesn't it? It uses LaunchScreen with name "LaunchScreen.stroryboard" for default. If there are a lot of subviews on your launchScreen, set numeric subviews "numberLogoAsSubview" when call "asTwitter". Please, do not use raster picture on launchScreen, you will see freezing mask when the animation starts. Do use vector one, ex. pdf

or use

let twitterLogoBezierPath = SPBezierPathFigure.logoTwitter()
SPLaunchAnimation.asTwitter(withIcon: twitterLogoBezierPath, onWindow: self.window!)

This way is more difficult, but it looks better. You should set vector image on the launchScreen and create UIBezierPath identical to you logo. When the animation starts - logo is quietly replaced with bezierPath-variant and scale-animation looks perfect on all devices. Just for example: you can find twitter logo in bezierPath-variant in the project (which is not installed with pods)

Problems and a piece of advice

Do use vector logo. Raster images cause quality loss with large scaling. I recommend you to use BezierPath, but if it's not possible UIImage in pdf is a good alternative

Is it real Twitter Launсh animation?

Twitter developers use intuitive animation: firstly the logo is compressed, then it's enlargen. In order to make animation looks good, timing curves should be used. But the standard curve don't give the result similar to the real launch animation. Experimentally, I've found the correct curve

Comparison with original

I recorded the screen with the launch of the original animation and compared frame with my project, correcting and adjusting values. I spent a week on correcting the values

License

TwitterLaunchAnimation is released under the MIT license. Check LICENSE.md for details

Other

In the project you can find my library Sparrow. It’s a library with a full functionality. If you want to use only TwitterLaunchAnimation, you can easily delete extra files from library. All will work fine. If you install via CocoaPods, only necessary files will be installed

Contact

https://hello.ivanvorobei.by

https://ivanvorobei.by

[email protected]

Support

The project is fully free, I do not impose any restrictions on its use. I'm, just like you, want to do useful things. If you have a desire to help, tell friends about the project or donate. Thanks!

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].