MiMo42 / MMTabBarView

A Mac OS X tab bar view that works on 10.9+ with Xcode 9.3+. Pull requests welcomed.

Home Page:http://mimo42.github.com/MMTabBarView/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

display object count on tab

vannip opened this issue · comments

An open question...maybe i'm dumb and doing something wrong but...

should -(BOOL)showObjectCount be a method declared in MMTabBarItem protocol, like the other optional ones?
It doesn't seem to be there and i figured out after an hour of tinkering that this is called on the
tabItem identifier and is expected to return YES in order to show the counter on the attached tab.
-(NSInteger)objectCount is still called even if the id<MMTabBarItem> instance doesn't implement the aforementioned method, but the counter is, as a matter of fact, not displayed.

Thanks for any clarifications about that.
Vanni

Property showObjectCountHas been added (develop branch, SHA 617adf6)