GithubHelp home page GithubHelp logo

tabby's Issues

Ability to refresh color settings

It would be nice and nifty to be able to invoke a reconfigure method to refresh the colors that are used in Tabby. Lets say that you application gets information from a backend about which colors to use in the Tabby, then if the color changes on the backend, you could apply this colors to the TabbyController without having to reinitialize a new TabbyController or recreate the items that are in the tab bar.

Unable to install using pod

Hello @zenangst ,

I am unable to install this library while using Pod.
It is giving the error [!] No podspec found for Tabby in ../../ Kindly find the attached screenshot.

use_frameworks!

platform :ios, '9.0'

target 'Tabbar Demo' do
  pod 'Tabby'
end

Error tabby

Can you please help me?

Feature intercepting tab bar selections

I think it could be useful to be able to intercept a navigation before it happens. Play with the idea that you have an item in your tab bar that actually leaves the application, then you don't want that to switch out the controller and to show and empty one when you get back into your application.

We can use Facebook and Facebook Messenger as an example, if you tap that item, you don't navigate inside Facebook, you are transported to Messenger. When you come back to Facebook, it is exactly like you left it.

I don't think this would be to hard to achieve if we change the delegate method on TabbyController to return a boolean value. If it is set to true, it would change, if false, then it is up to the developer to decide what is suppose to happen when a user taps the item.

So instead of this;
https://github.com/hyperoslo/Tabby/blob/master/Sources/TabbyController.swift#L8

func tabbyDidPress(item: TabbyBarItem)

You would have something like this;

func tabbyDidPress(item: TabbyBarItem) -> Bool

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.