All Projects → maltsugar → RollingNotice-Swift

maltsugar / RollingNotice-Swift

Licence: MIT license
滚动公告、广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to RollingNotice-Swift

Rollingnotice
所有的垂向滚屏这一个库就够了!!!滚动公告、轮播广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready
Stars: ✭ 445 (+308.26%)
Mutual labels:  scroll, marquee
Uumarqueeview
[iOS]Customizable marquee view. #Marquee,MarqueeView,跑马灯,滚屏,上翻,左滑,多行,自定义
Stars: ✭ 295 (+170.64%)
Mutual labels:  scroll, marquee
React Native Text Ticker
React Native Text Ticker/Marquee Component
Stars: ✭ 212 (+94.5%)
Mutual labels:  scroll, marquee
Txscrolllabelview
🌭TXScrollLabelView, the best way to show & display information such as adverts / boardcast / onsale e.g. with a customView.
Stars: ✭ 714 (+555.05%)
Mutual labels:  scroll, marquee
React Scroll Sync
Synced scroll position across multiple scrollable elements
Stars: ✭ 252 (+131.19%)
Mutual labels:  scroll
V Bar
The virtual responsive crossbrowser scrollbar component for VueJS 2x
Stars: ✭ 216 (+98.17%)
Mutual labels:  scroll
Stickyfill
Polyfill for CSS `position: sticky`
Stars: ✭ 2,252 (+1966.06%)
Mutual labels:  scroll
Vue Wxchat
❗❗ vue.js仿微信聊天界面展示组件(可滚动加载)。A WeChat chat display component.
Stars: ✭ 192 (+76.15%)
Mutual labels:  scroll
tgAds
TeleGram Advrtising
Stars: ✭ 24 (-77.98%)
Mutual labels:  advertising
QuickTraceiOSLogger
A real time iOS log trace tool, view iOS log with pc web browser under local area network, which will automatically scroll like xcode. 一个实时的iOS日志跟踪工具,在局域网中使用 PC Web 浏览器查看 iOS 日志,它将像xcode一样自动滚动。
Stars: ✭ 16 (-85.32%)
Mutual labels:  scroll
Vegascroll
↕️ VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9.
Stars: ✭ 2,647 (+2328.44%)
Mutual labels:  scroll
Moveto
A lightweight scroll animation javascript library without any dependency
Stars: ✭ 2,746 (+2419.27%)
Mutual labels:  scroll
React Scroll Shadow
Pure CSS shadow to indicate more content in scrollable area
Stars: ✭ 229 (+110.09%)
Mutual labels:  scroll
Scroll
Static publishing software with a newspaper feel built on Tree Notation. Scroll is public domain software.
Stars: ✭ 206 (+88.99%)
Mutual labels:  scroll
py-bluetooth-utils
Python module containing bluetooth utility functions, in particular for easy BLE scanning and advertising
Stars: ✭ 60 (-44.95%)
Mutual labels:  advertising
Stickybits
Stickybits is a lightweight alternative to `position: sticky` polyfills 🍬
Stars: ✭ 2,220 (+1936.7%)
Mutual labels:  scroll
react-is-scrolling
Simply detect if users are scrolling in your components in a declarative API
Stars: ✭ 17 (-84.4%)
Mutual labels:  scroll
React World
✨🌌 A different web experience in 8 bit React.js World
Stars: ✭ 230 (+111.01%)
Mutual labels:  scroll
React Native Swiper Flatlist
👆 Swiper component implemented with FlatList using Hooks & Typescript + strict automation tests with Detox
Stars: ✭ 217 (+99.08%)
Mutual labels:  scroll
Vue Scroll
Scroll directive on vue
Stars: ✭ 238 (+118.35%)
Mutual labels:  scroll

滚动公告、广告

  CocoaPods 

English
Objective-C 版本

(for Swfit 4.2+)

版本记录

  • 1.1.0 修复#16#17,感谢@xygkevin
  • 1.0.9 新增暂停/恢复功能
  • 1.0.8 修复#4数据源返回数量为0时,不再显示cell,感谢建议
  • 1.0.7 普通用法textLabel支持左右间距设置
  • 1.0.6 demo类支持Swift 5.0
  • 1.0.4 库文件避免使用强制拆包,更加安全合理
  • 1.0.3 更新至Swift4.2
  • 1.0.2 支持xib创建滚动视图#9
  • 1.0.1 修复极少数情况下,动画过程退到后台,可能出现残影的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-Swift拖进去
  • Cocoapods: pod 'RollingNotice-Swift'

许可证

转载请注明出处,谢谢

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