All Projects → azfx → Simpletab

azfx / Simpletab

Licence: mit
A Simple iOS Tab Bar Controller with animation support.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Simpletab

Sunset.css
This library offers a collection of different CSS-powered transitions.
Stars: ✭ 99 (+19.28%)
Mutual labels:  animations, transition
Cpcollectionviewkit
Interesting UICollectionView layouts and transitions
Stars: ✭ 140 (+68.67%)
Mutual labels:  animations, transition
Css Animations Pocket Guide
A pocket guide to get started writing CSS Animations. ✨
Stars: ✭ 94 (+13.25%)
Mutual labels:  animations, transition
Editly
Slick, declarative command line video editing & API
Stars: ✭ 3,162 (+3709.64%)
Mutual labels:  animations, transition
Hamburger React
Animated hamburger menu icons for React (1.5 KB) 🍔
Stars: ✭ 391 (+371.08%)
Mutual labels:  animations, transition
Easytransform
Enhancing CSS transform with a little bit of JavaScript.
Stars: ✭ 10 (-87.95%)
Mutual labels:  animations, transition
Easytransitions
A simple way to create custom interactive UIViewController transitions
Stars: ✭ 1,592 (+1818.07%)
Mutual labels:  animations, transition
CustomSegueDemo
Demonstrates encapsulation of a custom view controller transition into a UIStoryboardSegue subclass
Stars: ✭ 31 (-62.65%)
Mutual labels:  interface-builder, animations
animated
🌊 Implicit animations for JavaFX.
Stars: ✭ 79 (-4.82%)
Mutual labels:  transition, animations
Pmsuperbutton
🔥 PMSuperButton is a powerful UIButton coming from the countryside, but with super powers! 😎
Stars: ✭ 653 (+686.75%)
Mutual labels:  animations, interface-builder
Swipeablecards
Demonstration of draggable transition for UIViewController with swipeable UICollectionView cells inside.
Stars: ✭ 52 (-37.35%)
Mutual labels:  animations, transition
React Native Animatable
Standard set of easy to use animations and declarative transitions for React Native
Stars: ✭ 9,032 (+10781.93%)
Mutual labels:  transition
Libanimation Old
Wobbly windows and animations logic split out from Compiz
Stars: ✭ 65 (-21.69%)
Mutual labels:  animations
Androidanimationinterpolator
Based on Article: https://blog.mindorks.com/understanding-interpolators-in-android-ce4e8d1d71cd
Stars: ✭ 65 (-21.69%)
Mutual labels:  animations
React Native Spline Interpolate
Spline interpolation for React Native animations
Stars: ✭ 65 (-21.69%)
Mutual labels:  animations
Splitting
JavaScript microlibrary to split an element by words, characters, children and more, populated with CSS variables!
Stars: ✭ 1,222 (+1372.29%)
Mutual labels:  transition
Ibanimatable
Design and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable.
Stars: ✭ 8,585 (+10243.37%)
Mutual labels:  interface-builder
Obs Streamfx
StreamFX is a plugin for OBS Studio which adds many new effects, filters, sources, transitions and encoders - all for free! Be it 3D Transform, Blur, complex Masking, or even custom shaders, you'll find it all here.
Stars: ✭ 1,128 (+1259.04%)
Mutual labels:  transition
Transitionbutton
UIButton sublass for loading and transition animation.
Stars: ✭ 1,124 (+1254.22%)
Mutual labels:  transition
React Typist
Typing animations with React
Stars: ✭ 1,092 (+1215.66%)
Mutual labels:  animations

image

CI Status Version License Platform

About

. .
image image

SimpleTab provides an easy alternative to the default UITabBarController with following support :

  • Custom UI for Tab Bar Item
  • Custom Tab Bar Item Animations on Tab Switching
  • Custom View Transitions on Tab Switching

SimpleTab is developed with following principles :

  • Simple - Easy to use and revert
  • Keep the wheel - Utilize core features of UITabBarController
  • Flexible - Provide hooks to customize UI and Animations

Note: At the moment, SimpleTab does not work when instantiated programmatically. It must be used along with UITabBarController set in Interface Builder.

Demo

The included example project demonstrates the usage of SimpleTab

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 8.0+
  • ARC

Installation

SimpleTab is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SimpleTab"

Note: SimpleTab now supports Swift 3.X starting 0.2.0 version.

Getting Started

1.0 Import SimpleTab Framework to your Project

#import SimpleTab

2.0 Using Interface Builder, ensure :

  • Tab Bar Controller is set as SimpleTabBarController
  • Tab Bar is set as SimpleTabBar
  • Tab Bar Item is set as SimpleTabBarITem

3.0 Get Handle to Tab Bar Controller, preferably in AppDelegate

simpleTBC = self.window!.rootViewController as? SimpleTabBarController

4.0 Set View Transition

Included Animations

  • PopViewTransition
  • CrossFadeTransition
simpleTBC?.viewTransition = PopViewTransition()

5.0 Set Tab Bar Style

Included Styles

  • PopTabBarStyle
  • ElegantTabBarStyle
var style:SimpleTabBarStyle = PopTabBarStyle(tabBar: simpleTBC!.tabBar)

5.1 Optional - Set Tab Title attributes for selected and unselected (normal) states.
Or use Tint Color in the Interface Builder to set the states

style.setTitleTextAttributes([NSFontAttributeName : UIFont.systemFontOfSize(14),  NSForegroundColorAttributeName: UIColor.lightGrayColor()], forState: .Normal)
style.setTitleTextAttributes([NSFontAttributeName : UIFont.systemFontOfSize(14),NSForegroundColorAttributeName: colorWithHexString("4CB6BE")], forState: .Selected)

5.2 Optional - Set Tab Icon colors for selected and unselected (normal) states.
Or use the App tint color to set the states

style.setIconColor(UIColor.lightGrayColor(), forState: UIControlState.Normal)
style.setIconColor(UIColor.blueColor(), forState: UIControlState.Selected)

6.0 And finally, let Tab Bar Controller know of the style in use

simpleTBC?.tabBarStyle = style

Customizations

Refer customizations

Author

azfx, [email protected]

License

SimpleTab is available under the MIT license. See the LICENSE file for more info.

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