Code Monkey home page Code Monkey logo

floatingtabbarcontroller's Introduction

FloatingTabBarController

Version License Platform

Screenshot

FloatingTabBarController is a tab bar controller with sliding tabs and a custom tab bar inspired by this Dribbble shot.

Example

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

Requirements

FloatingTabBarController requires at least iOS 11.0

Installation

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

pod 'FloatingTabBarController'

Usage

Create a new instance of FloatingTabBarController and set the viewControllers property. The tab bar will be populated using the floatingTabItem property of UIViewController, which you should set.

You can create a FloatingTabItem with one or two images, it is recommended that selected images are slightly larger (35x35pt) than normal images (25x25pt). When initialized with a single image, that image will be used for both states.

You can customize the tab bar's background color and visual effect, as well as its tint color, which will reflect on the color of the icons if the images are set to render as template.

Author

EmilioPelaez, [email protected]

License

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

floatingtabbarcontroller's People

Contributors

emiliopelaez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

floatingtabbarcontroller's Issues

Corner Radius Issue

How to give equal corner radius on top and bottom with bazierPath. If I increase Radius value which is default 10 in FloatingTabBar Class then It also increase the height of tabbar. I do not want to increase the height of tabbar.
This is what I want

Screenshot 2021-08-09 at 12 51 31 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.