GithubHelp home page GithubHelp logo

jinht / marquee Goto Github PK

View Code? Open in Web Editor NEW
431.0 7.0 58.0 9.39 MB

跑马灯/滚动文字条(类似于淘宝/菜鸟/京东/支付宝/聚划算/网商银行等app的跑马灯功能)

License: MIT License

Objective-C 95.03% Ruby 4.97%
ios-sdk marquee scrollbar scroll-view scrollingelement scrolling-watchers tmall

marquee's People

Contributors

jinht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

marquee's Issues

make 发现个bug

3230ad97-3c79-41f7-ab2e-f7c84c1f203f
我那个PaoMaVC是自定义cell中的UIview我把跑马控件加载到这个view中,并且宽高打印是相等的,但实行跑出来的效果就成图上这样了,请问为什么会这样呢

速度问题

使用内部计算的duration时,先设置一个较短的text,再设置一个较长的text,速度会加快。。

How to use

看了How to use,还是不懂怎么使用,不用npm install安装吗

你好,我用Masonry布局怎么就跑不起来?

          JhtHorizontalMarquee * amountLabel = [[JhtHorizontalMarquee alloc] initWithFrame:CGRectZero withSingleScrollDuration:8.0];
    [amountLabel marqueeOfSettingWithState:MarqueeStart_H];
    [self.contentView addSubview:amountLabel];

[amountLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.right.mas_equalTo(-kSpacingDistance);
make.centerY.mas_equalTo(self.contentView.mas_centerY);
make.height.mas_equalTo(20);
make.left.mas_equalTo(typeLabel.mas_right).offset(5);
}];

有一下问题

已经知道了,但是有两个问题,1.你的这样无法设置字体的颜色和大小吧,我想要使用NSAttributedString的模式进行显示,可是实现不了;2.如果内容特别特别多的时候,跑马灯就不会跑了

不能横向滚动

后台请求回来数据之后,我给horizontalMarquee.text = preMuStr;赋值,就不会滚动了

使用问题

1,用 pod 怎么导入?
2,手动集成需要拷贝哪些文件? 里面.a 结尾的文件是什么?
3,能不能支持swift?

您好,verticalTextAlignment的问题

当设置verticalTextAlignment 为NSTextAlignmentLeft的时候,文字会挨着边,不是很美观,我猜测,您这个可能是UITextField,可否开放粗来leftView,这样我们可以定制 文字距离 边的大小,

加入横屏

横屏这个功能在跑马灯这里相当适用,特别是横向跑的.

能否开源代码

代码貌似都是使用的静态库framework只暴露了都文件夹.h 能否开源.m代码呢?

不适配ios7

Object file (/Users/PengJiang/Desktop/项目/天宝/app/app/JhtMarqueeSDK/JhtMarqueeSDK.a(JhtHorizontalMarquee.o)) was built for newer iOS version (8.0) than being linked (7.0)

。。。

    • framework形式的放在github上干嘛呢 谁用谁sb

崩溃了

运行提示:[JhtHorizontalMarquee initWithFrame:withSingleScrollDuration:]: unrecognized selector sent to instance 0x113940280

设置图片

可以开放.m文件吗?或者可以设置图片吗

开放源代码问题

你好,今天下载了这个demo,效果不错哈,先给个✨在看!!! 如果代码开源了,会学到更多,望考虑哈~~

release 模式下报警告,是否能优化下

while processing /Users/byrong/Downloads/Marquee-master/JhtMarquee.framework/JhtMarquee(JhtHorizontalMarquee.o):
warning: /Users/jinht/Library/Developer/Xcode/DerivedData/ModuleCache/1CNAI1L4NFVM/UIKit-3QDEVN12FKARC.pcm: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found. Redistributable static libraries should never be built with module debugging enabled. The debug experience will be degraded due to incomplete debug information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.