Coder Social home page Coder Social logo

cmtabbarview's People

Contributors

moyunmo 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cmtabbarview's Issues

UICollectionViewScrollPositionLeft not working

[self.collectionView scrollToItemAtIndexPath:indexPath atScrollPosition:UICollectionViewScrollPositionCenteredVertically | UICollectionViewScrollPositionLeft animated:NO];

this code isn't working, I tried it, but it always go for UICollectionViewScrollPositionCenteredHorizontally.

Setting not the first one as default tab

First of all thanks for the great component!
I'm trying to initializate it with a tab different from first one as default.
The VC receives the selected tab and try to set it in the component
_tabbarView.defaultSelectedIndex = start;
[_tabbarView setTabIndex:start animated:true];
But both the tab 0 and the one I want to select are selected. Also even with animated = true, the selected tab is not centered on screen

Am I doing something wrong?
Thanks
Paolo
screen shot 2017-03-21 at 19 02 45

Setting the default index of tab that is off the screen

Hi!
Thanks for your work.
I have a trouble with setting default tab index that is off the screen.
If i have 10 tab items and screen shows only 4 first, then if i will set the default index > 4 - hi is not appears at screen, until i'll scroll it.
How i can do it?
Thanks.

Initialisation via Storyboard

Hi,

First of all, congratulations for your work, isn't a huge project but works well and have a easy usage and instalation.

My suggestion is to you make the ability to initialise using a Storyboard, i think is a good feature to have because i tried to initialize and the final result wasn't the same.

Other suggestion, linked with the previous one, is to add the @IBOutlet to the delegate and dataSource, in case of you add the possibility to create a CMTabbarView via Storyboard.

Thank you and good luck.

Center Tabs

Any way to center the tabs horizontally when they don't take up the whole screen width?

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.