All Projects → tingxins → Txscrolllabelview

tingxins / Txscrolllabelview

Licence: mit
🌭TXScrollLabelView, the best way to show & display information such as adverts / boardcast / onsale e.g. with a customView.

Projects that are alternatives of or similar to Txscrolllabelview

Tlyshynavbar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
Stars: ✭ 3,780 (+429.41%)
Mutual labels:  cocoapods, scrolling, scrollview
Rollingnotice
所有的垂向滚屏这一个库就够了!!!滚动公告、轮播广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready
Stars: ✭ 445 (-37.68%)
Mutual labels:  cocoapods, scroll, marquee
Yjbannerview
【抱歉,暂时不提供开源】A very popular and highly customized banner view, 无限循环滚动轮播图BannerView、焦点图, 支持Cocoapods 及 Carthage. 支持完全自定义
Stars: ✭ 506 (-29.13%)
Mutual labels:  cycle, scrolling, scrollview
Attributedstring
基于Swift插值方式优雅的构建富文本, 支持点击长按事件, 支持不同类型过滤, 支持自定义视图等.
Stars: ✭ 294 (-58.82%)
Mutual labels:  cocoapods, label
Ngx Scroll To
Scroll to any element to enhance scroll-based features in you app. Works for Angular 4+, both AoT and SSR. No dependencies.
Stars: ✭ 269 (-62.32%)
Mutual labels:  scroll, scrolling
Containercontroller
UI Component. This is a copy swipe-panel from app: Apple Maps, Stocks. Swift version
Stars: ✭ 273 (-61.76%)
Mutual labels:  cocoapods, scrollview
AutoScrollTextView
android 上下滚动播放与走马灯效果结合
Stars: ✭ 27 (-96.22%)
Mutual labels:  marquee, scrollview
Pagecontroller
Infinite paging controller, scrolling through contents and title bar scrolls with a delay
Stars: ✭ 344 (-51.82%)
Mutual labels:  cocoapods, scrolling
Efcountinglabel
Adds animated counting support to UILabel.
Stars: ✭ 311 (-56.44%)
Mutual labels:  cocoapods, label
Mac Mouse Fix
Mac Mouse Fix - A simple way to make your mouse better.
Stars: ✭ 362 (-49.3%)
Mutual labels:  scroll, scrolling
React Scrolllock
🔒 Prevent scroll on the <body />
Stars: ✭ 393 (-44.96%)
Mutual labels:  scroll, scrolling
Scrolldir
0 dependency JS plugin to leverage scroll direction with CSS ⬆⬇ 🔌💉
Stars: ✭ 679 (-4.9%)
Mutual labels:  scroll, scrolling
Phytouch
Smooth scrolling, rotation, pull to refresh, page transition and any motion for the web - 丝般顺滑的触摸运动方案
Stars: ✭ 2,854 (+299.72%)
Mutual labels:  scroll, scrolling
srraf
Monitor scrolling and resizing without event listeners.
Stars: ✭ 26 (-96.36%)
Mutual labels:  scrolling, scroll
Uumarqueeview
[iOS]Customizable marquee view. #Marquee,MarqueeView,跑马灯,滚屏,上翻,左滑,多行,自定义
Stars: ✭ 295 (-58.68%)
Mutual labels:  scroll, marquee
scrollparent.js
A function to get the scrolling parent of an html element.
Stars: ✭ 51 (-92.86%)
Mutual labels:  scrolling, scroll
Jump.js
A modern smooth scrolling library.
Stars: ✭ 3,459 (+384.45%)
Mutual labels:  scroll, scrolling
EmbeddedScrollView
Embedded UIScrollView for iOS.
Stars: ✭ 55 (-92.3%)
Mutual labels:  scrolling, scrollview
volx-recyclerview-fast-scroll
An easy to use implementation for fast scroll recyclerview
Stars: ✭ 34 (-95.24%)
Mutual labels:  scrolling, scroll
Jxpagelistview
高仿闲鱼、转转、京东、中央天气预报等主流APP列表底部分页滚动视图
Stars: ✭ 377 (-47.2%)
Mutual labels:  scroll, scrollview

TXScrollLabelView is an iOS lightweight library that can displays adverts or boardcast e.g. with an custom view.

中文介绍

x-scroll-label-view

Support what kinds of scrollType

  • TXScrollLabelViewTypeLeftRight : scrolling from right to left, and cycle all contents(scrollTitle) in a single line.

  • TXScrollLabelViewTypeUpDown: scrolling from bottom to top, and cycle all contents.

  • TXScrollLabelViewTypeFlipRepeat: scrolling from bottom to top, and cycle the first line of your contents.

  • TXScrollLabelViewTypeFlipNoRepeat: scrolling from bottom to top, and cycle all contents with a line once times.

And scrollVelocity property now supports all above enum of TXScrollLabelViewType, just enjoy it!

Installation

There are three ways to use TXScrollLabelView in your project:

  • Using CocoaPods

  • Manual

  • Using Carthage

CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects.

Podfile

platform :ios, '7.0'
pod 'TXScrollLabelView'

Manual

Download repo's zip, and just drag ALL files in the TXScrollLabelView folder to your projects. Import header file when you are using:

#import "TXScrollLabelView.h"

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate TXScrollLableView into your Xcode project using Carthage, specify it in your Cartfile:

github "tingxins/TXScrollLableView"

Run carthage to build the frameworks and drag the framework into your Xcode project.

Usage

Now, TXScrollLabelView supports both array & string. just enjoy it. 👀

Example

Objective-C :

/** Step1: 滚动文字 */
NSString *scrollTitle = @"xxxxxx";

/** Step2: 创建 ScrollLabelView */
TXScrollLabelView *scrollLabelView = [TXScrollLabelView scrollWithTitle:scrollTitle type:TXScrollLabelViewTypeFlipNoRepeat velocity:velocity options:UIViewAnimationOptionCurveEaseInOut];

/** Step3: 设置代理进行回调(Optional) */
scrollLabelView.scrollLabelViewDelegate = self;

/** Step4: 布局(Required) */
scrollLabelView.frame = CGRectMake(50, 100, 300, 30);
[self.view addSubview:scrollLabelView];

/** Step5: 开始滚动(Start scrolling!) */
[scrollLabelView beginScrolling];

You can running TXScrollLabelViewDemo for more details.

Swift : Producting.(Swift-version)

Delegate Method

Tap Gesture callback.


- (void)scrollLabelView:(TXScrollLabelView *)scrollLabelView didClickWithText:(NSString *)text atIndex:(NSInteger)index;

Communication

Absolutely,you can contribute to this project all the time if you want to.

  • If you need help or ask general question, just @tingxins in Weibo or Twitter, ofcourse, you can access to my blog.

  • If you found a bug, just open an issue.

  • If you have a feature request, just open an issue.

  • If you want to contribute, fork this repository, and then submit a pull request.

License

TXScrollLabelView is available under the MIT license. See the LICENSE file for more info.

Ad

Welcome to my Official Account of WeChat.

wechat-qrcode

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].