All Projects → HaiTeng-Wang → PageSegment

HaiTeng-Wang / PageSegment

Licence: other
左右滑动切换页面,TabBar支持小红点显示。

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to PageSegment

react-native-segment-controller
A react-native segment controller(Tab) for both ios and android.
Stars: ✭ 18 (-79.78%)
Mutual labels:  tabbar, segmented-controls
react-native-collapsible-segmented-view
A cross-platform Collapsible Segmented View component for React Native
Stars: ✭ 37 (-58.43%)
Mutual labels:  tabbar, segmented-controls
Iphone Tab In Android
android TabLayout widget at bottom like iPhone UITabBar
Stars: ✭ 181 (+103.37%)
Mutual labels:  tabbar
react-native-scrollable-tabview
Based on pure JS scripts, without relying on native, no need for react-native link, Title / Header / Tabs / Sticky / Screen components can be flexibly configured, among which Tabs / Sticky can slide When it reaches the top, it will be topped.
Stars: ✭ 136 (+52.81%)
Mutual labels:  tabbar
pagser
Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler
Stars: ✭ 82 (-7.87%)
Mutual labels:  page
Youtube Ios
youtube iOS app template written in swift 5
Stars: ✭ 2,438 (+2639.33%)
Mutual labels:  tabbar
MMSegmentControl
A custom segmented control for iOS applications.
Stars: ✭ 13 (-85.39%)
Mutual labels:  segmented-controls
Flutter bubble tab indicator
A Flutter library to add bubble tab indicator to TabBar
Stars: ✭ 149 (+67.42%)
Mutual labels:  tabbar
notfilippo
✨ uwa, special ✨
Stars: ✭ 22 (-75.28%)
Mutual labels:  page
Landing-CMS
A simple CMS for landing pages
Stars: ✭ 78 (-12.36%)
Mutual labels:  page
RESegmentedControl
Customizable segmented control with style presets...
Stars: ✭ 76 (-14.61%)
Mutual labels:  tabbar
Sscustomtabbar
Simple Animated tabbar with native control
Stars: ✭ 251 (+182.02%)
Mutual labels:  tabbar
Expandedtabbar
ExpandedTabBar is a very creative designed solution for "more" items in UITabBarController. It's greate experience to have more comfortable and intuitive UI.
Stars: ✭ 219 (+146.07%)
Mutual labels:  tabbar
PageQueryBoss
A ProcessWire Module to build complex nested queries containing multipple fields and pages and return an array that can be parsed to JSON. This is usefull to fetch data for SPA and PWA.
Stars: ✭ 18 (-79.78%)
Mutual labels:  page
Rdvtabbarcontroller
Highly customizable tabBar and tabBarController for iOS
Stars: ✭ 2,292 (+2475.28%)
Mutual labels:  tabbar
react-native-tabbar
A tabbar component for React Native
Stars: ✭ 59 (-33.71%)
Mutual labels:  tabbar
React Native Head Tab View
Add collapsible headers to your tab-view components.
Stars: ✭ 171 (+92.13%)
Mutual labels:  tabbar
Vbrrollingpit
Simple, beautiful and interactive UITabBar
Stars: ✭ 252 (+183.15%)
Mutual labels:  tabbar
ReactZooApp
ReactZooApp
Stars: ✭ 33 (-62.92%)
Mutual labels:  page
kirby3-bolt
Kirby 3 Plugin for a fast Page lookup even in big content trees
Stars: ✭ 24 (-73.03%)
Mutual labels:  page

PageSegment

Language

Platform iOS CocoaPods compatible License: MIT

基于PagerTab基础上进行修改。

原贡献者,貌似消失于Github界,此控件也没有持续更新。所有放到这里希望大家可以一起pull requests

文件,代码少,易于自己修改成适合自己项目的工程控件。TabBar可显示小红点。


效果图

多个BarItem

Features

  • 容器视图控制器管理页面,左右滑动切换页面控制器
  • 可配置TabBar,支持多个BarItem,TabBar支持小红点显示
  • 支持页面边缘右滑返回

Requirements

  • iOS 8+

Installation with CocoaPods

Podfile

platform :ios, '8.0'

target 'TargetName' do
pod 'PageSegmentView', '~> 1.0.6'
end

Then

$ pod install

Use

init

- (PageSegmentView *)segmentView {
    if (!_segmentView) {
        self.segmentView = [[PageSegmentView alloc]initWithFrame:CGRectMake(0,20,self.view.width,self.view.height - 20)];
        [self.view addSubview:_segmentView];
    }
    return _segmentView;
}

config

self.segmentView.delegate = self;
//可自定义背景色和tab button的文字颜色等
//开始构建UI
[_segmentView buildUI];
//显示红点,点击消失
[_segmentView showRedDotWithIndex:0];

delegate

#pragma mark - PageSegmentView Delegate

- (NSUInteger)numberOfPagers:(PageSegmentView *)view {
    return [_allVC count];
}
- (UIViewController *)pagerViewOfPagers:(PageSegmentView *)view indexOfPagers:(NSUInteger)number {
    return _allVC[number];
}

- (void)whenSelectOnPager:(NSUInteger)number {
    NSLog(@"页面 %lu",(unsigned long)number);
}

Contribution

Discussion and pull requests are welcomed Correcting English grammar is welcomed, too.

Contact me

License

RxTodo is under MIT license. See the LICENSE for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].