Comments (7)
兄弟 故意的啊,你看代码啊 回来时只开启第一个,第二个没开启
from rollingnotice.
好的老哥,我的问题。没注意看代码。
from rollingnotice.
还有个问题,我用的swift创建,为什么用你的代码,发现返回的cell为nil,然后我去GYRollingNoticeView.m 97行发现返回的为nil。然后用断点 po NSClassFromString(self.cellClsDict[identifier])和po NSClassFromString(self.cellClsDict["GYNoticeViewCell"])这两个打印出来的还不一样。前面那个为nil,后面那个为GYNoticeViewCell
from rollingnotice.
你注册cell了吗
from rollingnotice.
注册了
from rollingnotice.
noticeView.delegate = self
noticeView.dataSource = self
noticeView.register(GYNoticeViewCell.self, forCellReuseIdentifier: "GYNoticeViewCell")
let cell = rollingView.dequeueReusableCell(withIdentifier: "GYNoticeViewCell ")
cell?.textLabel.text = "放大到发疯的放大放大放大放大发呆发呆发呆发"
return cell
from rollingnotice.
稍等 现在有点忙 你先自己查查原因
from rollingnotice.
Related Issues (18)
- 崩溃在-(void)timerHandle中的[self.reuseCells addObject:_currentCell]; HOT 3
- 建议打开 # s.ios.deployment_target = "5.0" HOT 2
- 开始不显示,显示空白,过一段时间才会显示cell... HOT 14
- 停止后不一定需要移除视图,另外希望增加暂停方法 HOT 2
- 用在UITableViewHeaderFooterView怎么释放不掉呢 HOT 2
- 单条数据使用约束布局情况下,第一次不显示内容,希望优化下 HOT 5
- 外部通过currentIndex属性从数组中获取值时可能会越界 HOT 6
- 可以添加左右滚动嘛 HOT 3
- crash掉了 HOT 3
- 请问停止后如何开启 HOT 3
- 在Cell中释放的时候偶现崩溃 HOT 1
- Demo 点击 Push 再返回 最下面的 公告消失 HOT 1
- 崩溃位置,如下图所示 HOT 22
- 点击事件应该暴露出来,或者至少把点击的坐标点传递出来 HOT 3
- 我建了三行的滚动 但是 现在不正确呀 HOT 1
- 循环引用 HOT 1
- 通过xib创建,init方法里的不会调用导致的一些问题。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rollingnotice.