All Projects → maltsugar → Rollingnotice

maltsugar / Rollingnotice

Licence: mit
所有的垂向滚屏这一个库就够了!!!滚动公告、轮播广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Rollingnotice

Txscrolllabelview
🌭TXScrollLabelView, the best way to show & display information such as adverts / boardcast / onsale e.g. with a customView.
Stars: ✭ 714 (+60.45%)
Mutual labels:  cocoapods, scroll, marquee
React Native Text Ticker
React Native Text Ticker/Marquee Component
Stars: ✭ 212 (-52.36%)
Mutual labels:  scroll, marquee
RollingNotice-Swift
滚动公告、广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready
Stars: ✭ 109 (-75.51%)
Mutual labels:  scroll, marquee
Uumarqueeview
[iOS]Customizable marquee view. #Marquee,MarqueeView,跑马灯,滚屏,上翻,左滑,多行,自定义
Stars: ✭ 295 (-33.71%)
Mutual labels:  scroll, marquee
Hokusai
A Swift library to provide a bouncy action sheet
Stars: ✭ 431 (-3.15%)
Mutual labels:  cocoapods
Awesomeintroguideview
🏆An awesome view for Introduce
Stars: ✭ 415 (-6.74%)
Mutual labels:  cocoapods
Tocropviewcontroller
A view controller for iOS that allows users to crop portions of UIImage objects
Stars: ✭ 4,210 (+846.07%)
Mutual labels:  cocoapods
Ghconsole
An elegant and easy way to show a console in your app. 一种优雅简单的方式在app中显示控制台。
Stars: ✭ 411 (-7.64%)
Mutual labels:  cocoapods
Sidemenu
An interactive iOS side menu with rich features.
Stars: ✭ 442 (-0.67%)
Mutual labels:  cocoapods
Azteceditor Ios
A reusable native iOS visual HTML text editor component.
Stars: ✭ 437 (-1.8%)
Mutual labels:  cocoapods
Mylinearlayout
MyLayout is a powerful iOS UI framework implemented by Objective-C. It integrates the functions with Android Layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,PathLayout,GridLayout,LayoutSizeClass to build your App 自动布局 UIView UITab…
Stars: ✭ 4,152 (+833.03%)
Mutual labels:  cocoapods
Use Scroll Position
Use scroll position ReactJS hook done right
Stars: ✭ 414 (-6.97%)
Mutual labels:  scroll
Chromacolorpicker
🎨 An intuitive iOS color picker built in Swift.
Stars: ✭ 434 (-2.47%)
Mutual labels:  cocoapods
Swiftyxmlparser
Simple XML Parser implemented in Swift
Stars: ✭ 413 (-7.19%)
Mutual labels:  cocoapods
Urweatherview
Show the weather effects onto view written in Swift4.2
Stars: ✭ 439 (-1.35%)
Mutual labels:  cocoapods
Scrollload
scroll bottom load more data pull refresh 滚动到底部加载更多数据 下拉刷新
Stars: ✭ 411 (-7.64%)
Mutual labels:  scroll
Agimagepickercontroller
Stars: ✭ 424 (-4.72%)
Mutual labels:  cocoapods
Uitextfield Navigation
🏄‍♂️ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews
Stars: ✭ 436 (-2.02%)
Mutual labels:  cocoapods
Ngx Page Scroll
Animated scrolling functionality for angular written in pure typescript
Stars: ✭ 422 (-5.17%)
Mutual labels:  scroll
Tweetextfield
Lightweight set of text fields with nice animation and functionality. 🚀 Inspired by https://uimovement.com/ui/2524/input-field-help/
Stars: ✭ 421 (-5.39%)
Mutual labels:  cocoapods

滚动公告、广告

  CocoaPods 

English
Swift 版本

版本记录

  • 1.1.1 修复#16#17,感谢@xygkevin
  • 1.1.0 新增暂停/恢复功能
  • 1.0.9 数据源返回数量为0时,不再显示cell
  • 1.0.8 普通用法textLabel支持左右间距设置
  • 1.0.6 delegate和dataSource使用weak修饰,更加安全合理,代理、数据源释放时属性自动置nil
  • 1.0.5 小更新,修改readme里一个单词拼写错误,去掉动画block里self强引用提示
  • 1.0.4 支持xib创建滚动视图#9
  • 1.0.3 修复极少数情况下,动画过程退到后台,可能出现残影的bug,感谢@pcjbird指出并帮忙修复

经历

前一段时间遇到了滚动公告的需求,搜了好多天,发现没有简单明了的库可用。大神们写的都太复杂了,star比较高的两个,一个不支持动态刷新标题,一个甚至写了循环scrollView的功能,功能太过强大,我认为比较庞大,就没有用了(我本人喜欢简洁一点的库)。后来找了一个简单的WCScrollLabelView,算是符合我的预期,然鹅我又给他改两个bug,一个是timer不释放,一个是只有一个label时有问题。😅


于是就有了这个开源库,很曲折啊。闲暇时间写了一个,非常灵活。

特点:

  • UITableView设计理念, 开发者只需要自定义自己的view(想要多复杂的View都行) 并根据index赋值,轮播交给它。
  • 简单一行文字轮播用自带的cell, 复杂的自定义cell
  • cell 支持重用,目前一种cell最多创建2个
  • 支持动态刷新数据源,多种cell混用
  • 用法几乎和UITableView一样

希望大家共同进步,有问题欢迎issue

用法

几乎和UITableView一样的体验,自定义cell的话必须继承GYNoticeViewCell,你只管自定义你的View,并根据index赋值,轮播交给它。 具体用法demo 里有的!

  • 手动下载: GYRollingNoticeView拖进去
  • Cocoapods: pod 'RollingNotice'

许可证

转载请注明出处,谢谢

GYRollingNoticeView 使用 MIT 许可证,详情见 LICENSE 文件。

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