richzertuche / zcarousel Goto Github PK
View Code? Open in Web Editor NEWA Swift Carousel made with Paged UIScrollView
A Swift Carousel made with Paged UIScrollView
I have a problem when it's just an array image, it marks me the Fatal error: index out of range error in the scrollViewDidScroll method in step 3
if I know that I can help that I was attacking him, thank you and greetings
func scrollViewDidScroll(scrollView: UIScrollView) {
//3
if page <= 1{
let scrollToObject: AnyObject = objects[Int(objectsCount-3)]
self.scrollRectToVisible(scrollToObject.frame, animated: false)
}
if page >= objectsCount-2{
let scrollToObject: AnyObject = objects[2]
self.scrollRectToVisible(scrollToObject.frame, animated: false)
}
}
I use your code like example for my own carousel implementation.
please add new release tag which meets semantic versioning
Can you help me? How to scroll a specific page programmatically.
Add an animation of scrolling images. Have the center one larger then the two outside. When scrolling, have the one that is heading to the center grow in size and the previous center one shrink in size. Able to customize the size as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.