同步操作将从 knight.lu/simpleTab 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
##让您绝对心动的按钮,有缘人将她用在你的项目里面 增加亮点
Here's what JMTabView looks like:
And on a retina display:
A demo project is included in this repository so that you can dive right in. In brief, to draw the tab view, you can do the following:
JMTabView * tabView = [[[JMTabView alloc] initWithFrame:frame] autorelease];
[tabView setDelegate:self];
You can then add tab items:
[tabView addTabItemWithTitle:@"One" icon:[UIImage imageNamed:@"icon1.png"]];
By implementing the tabView:didSelectTabAtIndex:
method, you will receive a callback when the tab selection changes.
You can set the icon:
to nil
if you prefer to use text only, or title:
to nil
to show icons only.
If you prefer to use JMTabView as a toolbar you can use the setMomentary:
method to change its selection behaviour.
JMTabView also supports the execution of blocks so that you can embed your logic per tab item, like this:
[tabView addTabItemWithTitle:@"Tab" icon:nil executeBlock:^{ // do stuff after item has been selected }];
You can subclass JMTabItem
and JMSelectionView
to completely customize the view of the tabs. For example, in the inclusive Demo you can see how I've customized the view to render tabs like this:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。