Giter Club home page Giter Club logo

circlebar's Introduction

CircleBar

GitHub license CocoaPod compatible Swift 4.2 Twitter



Don’t you, sometimes, miss fun user interfaces?
Truth is, we do. Sure, you can't use them in enterprise apps for obvious reasons, but if you're working on a fun project...

CircleBar is a fun tab bar navigation controller,
written in Swift 4 and available through CocoaPods.

Currently at v1.0. Contributions are welcome.




We’re a nimble team of friendly designers and thoughtful developers.
Have a fun project or need help?




Installation

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

pod 'CircleBar'

Roadmap

  • Write the Usage section
  • Improve landscape support
  • Improve transitions
  • Release v1.0
  • iPad support

Usage

  1. Create a new UITabBarController in your storyboard or nib.

  2. Set the class of the UITabBarController to SHCircleBarController in your Storyboard or nib.

  3. Set the class of the UITabBar of SHTabBarController to SHCircleBar in your Storyboard or nib.

  4. Add a custom image icon and title for UITabBarItem of each child UIViewContrroller.

Example

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

License

CircleBar is available under the MIT license. See the LICENSE file for more information.
If you use the library, please include credits and link to https://softhaus.org.

Design inspired from Lukáš Straňák, Dribbble.

Thank you.

circlebar's People

Contributors

bcylin avatar kamrul-cse avatar perteadrian avatar perteraul 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

circlebar's Issues

SHCircleBar vs

Correct me if I'm wrong, but the README says:

Set the class of the UITabBarController to SHTabBarController in your Storyboard or nib.
Set the class of the UITabBar of SHTabBarController to SHTabBar in your Storyboard or nib.

Shouldn't it be?

Set the class of the UITabBarController to SHCircleBarController in your Storyboard or nib.
Set the class of the UITabBar of SHCircleBarController to SHCircleBar in your Storyboard or nib.

The latter worked for me, the former did not, and in fact it just finished building onto my iPhone and it looks awesome! Nice work!

View gets stuck

Describe the bug
The view gets stuck on the app icon if I segue to any other UINavigationViewController then use an unwind segue to get back.

To Reproduce

  1. Load into the CircleBarController.
  2. Segue to a UINavigationViewController.
  3. Unwind back.
  4. Switch tabs.

See the behavior / bug here:
https://youtu.be/pMLhlNLp9pI
See how it is caused here: (Note I segue to the Messages tabbarview controller)
https://youtu.be/W9nSDG_fVLk

The circle does not disappear if the tab bar is hidden

Describe the bug
Hi,
If I change VC where the VC has a tab bar hidden, the tab bar is clearly hidden but the circle is always here...
The only way to hide it is to pop a new vc with a modal, but in my code, it is complicated to use only modal...

So what can I do ?

Thank you :)

Here are some screenshots in order to be more clear :

S1

S2

Usage Error

SHCircleController should be SHCircleBarController

In iPad it looks weird.

Describe the bug
In iPad, the title text isn't set properly.

To Reproduce
Steps to reproduce the behavior:

  1. Open in any iPad

Expected behavior
The offset of the title is totally deferred then the actual one

Smartphone (please complete the following information):

  • OS: iOS 12.4

when start app first was not his correct position

Screenshots
`
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Customization

Hi! Thank you for this lib. I have question. How to customization tabbar like this. gif ?

TabBar.mp4

tab bar item is not hide when hides the whole tab bar

Describe the bug
tab bar item is not disappearing when hides the whole tab bar

To Reproduce
Steps to reproduce the behavior:

  1. hide the tab bar in any view controller it hides but item stays

Expected behavior
the tab bar item also disappear with the whole tab bar

Error while installing using Pod

Unable to install pod.

Steps to reproduce the behavior:

  1. Add " pod 'CircleBar' "
  2. Pod install
  3. Error " [!] Unable to find a specification for CircleBar "

Need help

Phone gets stuck

Sometimes when i am running the nib with this component, it gets stuck midway through pushviewcontroller animation and the entire phone gets stuck, i have to reset my phone. Any idea why? i tried to debug , nothing shows up though, extracted the log from the phone, OS is throwing SIGKILL because some process is taking long time.

Change IconTintColor

Is it possible to change the TintColor of the unselected Tabbar Icons?
The only thing I get worked is to change the background colors and the color of the selected Icon.

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.