Comments (4)
I'm busy through the weekend, so I wont' be able to investigate further until then. But here's my temporary fix:
+ var views = viewsInStackView
+ // Overwrite if too many views
+ if (viewsInStackView.count > maxNumSubviews && maxNumSubviews >= 0) {
+ views = Array(viewsInStackView[0..<maxNumSubviews])
+ }
from timelinetableviewcell.
Yeah, I think it's fork specific, as in the definition
Int(floor(stackView.frame.size.width / (stackView.frame.size.height + stackView.spacing))) - 1
the ratio is evaluated to 0, which is then turned to -1.
Thoughts on submitting a fix?
from timelinetableviewcell.
@peterkos thank your for reporting this issue. It should be checked whether maxNumSubviews and divisor are valid or not. I will try to fix it when I am available. BTW, I would appreciate it if you can help fix it or provide reproduce test cases.
from timelinetableviewcell.
Same here
from timelinetableviewcell.
Related Issues (19)
- Swift Package Manager Doesn't Support UIKit yet! HOT 1
- How to truncate the joining line at the last cell. HOT 2
- reverse timeline HOT 1
- support gradient Line Color
- How to customize cell HOT 2
- There is a tiny white line between the arrow and the bubble in demo project. HOT 1
- How can I customize cell? HOT 1
- allow leftMargin to change HOT 3
- Could not load NIB in bundle HOT 1
- Separator TableView HOT 1
- Carthage support HOT 2
- Need source in swift4 format HOT 1
- Could not load NIB in bundle HOT 1
- Bubble Layer takes the entire width of the table view cell.
- Customize TimeLineTableViewCell
- Fatal error: Can't form Range with upperBound < lowerBound HOT 3
- Title and decription on both sides
- The Module is not loading through swift package manager HOT 2
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 timelinetableviewcell.