All Projects → ParkGwangBeom → Transitionabletab

ParkGwangBeom / Transitionabletab

Licence: mit
TransitionableTab makes it easy to animate when switching between tab.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Transitionabletab

Officialfoldingtabbar.android
Stars: ✭ 434 (-41.35%)
Mutual labels:  transition, tabbar
Macaw
Powerful and easy-to-use vector graphics Swift library with SVG support
Stars: ✭ 5,756 (+677.84%)
Mutual labels:  transition
Vue Smooth Reflow
Transition an elements reflow when the data changes.
Stars: ✭ 407 (-45%)
Mutual labels:  transition
React Native Tab View
A cross-platform Tab View component for React Native
Stars: ✭ 4,742 (+540.81%)
Mutual labels:  tabbar
Material Searchtransition
A demo showcasing how to implement a Dial app-like Toolbar transition
Stars: ✭ 409 (-44.73%)
Mutual labels:  transition
Foldingtabbar.android
[DEPRECATED] Folding Tabbar menu for Android. This is a menu library.You can easily add a nice animated tab menu to your app.
Stars: ✭ 486 (-34.32%)
Mutual labels:  tabbar
Hamburger React
Animated hamburger menu icons for React (1.5 KB) 🍔
Stars: ✭ 391 (-47.16%)
Mutual labels:  transition
Flowing Gradient
Android Library to make a flowing gradient effect, similar to that used in Instagram Android login screen
Stars: ✭ 701 (-5.27%)
Mutual labels:  transition
Instagramlikecolortransitionandroid
How to create instagram like Gradient color transition in android.📸
Stars: ✭ 586 (-20.81%)
Mutual labels:  transition
Aasm
AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
Stars: ✭ 4,474 (+504.59%)
Mutual labels:  transition
React Native Tabbar Interaction
Tabbar Component For React-Native
Stars: ✭ 457 (-38.24%)
Mutual labels:  tabbar
Ffmpeg Concat
Concats a list of videos together using ffmpeg with sexy OpenGL transitions.
Stars: ✭ 451 (-39.05%)
Mutual labels:  transition
React Router Page Transition
Highly customizable page transition component for your React Router
Stars: ✭ 531 (-28.24%)
Mutual labels:  transition
Radiustransition
Transition between a circle to a square. ⚪️→ ⬜️
Stars: ✭ 408 (-44.86%)
Mutual labels:  transition
Stateless4j
Lightweight Java State Machine
Stars: ✭ 658 (-11.08%)
Mutual labels:  transition
Sotabbar
Light way to add Fancy bottom bar 📲
Stars: ✭ 400 (-45.95%)
Mutual labels:  tabbar
Estabbarcontroller
ESTabBarController is developed and maintained by Vincent Li. If you have any questions or issues in using ESTabBarController, welcome to issue. If you want to contribute to ESTabBarController, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 4,649 (+528.24%)
Mutual labels:  tabbar
Ypnavigationbartransition
A Full functional UINavigationBar framework for making bar transition more natural! You don't need to call any UINavigationBar api, implementing YPNavigationBarConfigureStyle protocol for your view controller instead. (类似微信 iOS Navigation Bar 的切换方案)
Stars: ✭ 725 (-2.03%)
Mutual labels:  transition
Splarkcontroller
Custom transition between controllers. Settings controller for your iOS app.
Stars: ✭ 693 (-6.35%)
Mutual labels:  transition
Alerttransition
AlertTransition is a extensible library for making view controller transitions, especially for alert transitions.
Stars: ✭ 565 (-23.65%)
Mutual labels:  transition

TransitionableTab

Carthage compatible Xcode 9.0+ iOS 8.0+ Version Swift 4.2 License

TransitionableTab makes it easy to animate when switching between tab .

Move Scale Fade Custom

Contents

Requirements

  • iOS 8.0+
  • Xcode 9.0+
  • Swift 4.2 (use version 0.1.3 for Swift 4.0)

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 1.1+ is required to build TransitionableTab 4.2+.

To integrate TransitionableTab into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'TransitionableTab', '~> 0.2.0'
end

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate TransitionableTab into your Xcode project using Carthage, specify it in your Cartfile:

github "Interactive-Studio/TransitionableTab" ~> 0.2.0

Run carthage update to build the framework and drag the built TransitionableTab.framework into your Xcode project.

Manually

If you prefer not to use either of the aforementioned dependency managers, you can integrate TransitionableTab into your project manually.


Preview

Usage

The usage of TransitionableTab is very simple

import TransitionableTab

class TabBarController: UITabBarController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.delegate = self
    }
}

extension TabBarController: TransitionableTab {

    func tabBarController(_ tabBarController: UITabBarController, shouldSelect viewController: UIViewController) -> Bool {
        return animateTransition(tabBarController, shouldSelect: viewController)
    }
}

Custom

public protocol TransitionableTab: UITabBarControllerDelegate {

    func transitionTimingFunction() -> CAMediaTimingFunction

    func transitionDuration() -> CFTimeInterval

    func fromTransitionAnimation(layer: CALayer, direction: Direction) -> CAAnimation

    func toTransitionAnimation(layer: CALayer, direction: Direction) -> CAAnimation
}

If you want to know more detailed usage, please refer to Example.

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Credits

License

TransitionableTab is released under the MIT license. See LICENSE for details.

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