caesarcat / infinitepagingview Goto Github PK
View Code? Open in Web Editor NEWInfinitePagingView is a subclass of UIView. It contains an endlessly scrollable UIScrollView.
License: MIT License
InfinitePagingView is a subclass of UIView. It contains an endlessly scrollable UIScrollView.
License: MIT License
could you plz make the dynamic add feature,
so the scroll be much faster, with long image
I see you use delegate
instead of _delegate
or self.delegate
. I´ts a very critical usage. I have fix this critical issue in my implementation. But i don´t wont to push a merge request.
best regards
Do you know, how do you control the ScrollView, so the view for example i have 5 pictures, if i scroll the photos they are showing 1-5 after that ,they start to comes again but i want to stop that after i scroll the 5th one. i don't want to show the 1st pic again. i have also another problem some at the start of the 1st pic,if i scroll back there shows that 5th one, i don't want show anymore the 5th one at i scroll back.
I have a UINavigationController for navigation between different views. In the first I have loaded InfinitePagingView control.
When I navigate to another view and come back to the view that contains the control InfinitePagingView a subview loaded in this control is displayed during the animation in the wrong view.
To solve this we must change the following in setFrame method:
_innerScrollView.clipsToBounds = YES;
Sorry for my English and thank you very much :D
Currently code is showing centre page on first load. How to show first page on first load.
When ever we are adding page we are calling addPageView method. In this method a method "layoutPages" is also called. in this method we are adding views as a subview of scroll view at every time, which leads memory issue. we can resolve it by adding
for(UIView * v in _innerScrollView.subviews)
[v removeFromSuperview];
with in the top of the method
it remove all subview from _innerScrollView first.
Hello,
I want to perform some action when scrolling stops and therefore I do code in "didEndDecelerating" method but If I scroll faster it changes the original index values of array which was assigned to PagingView Initially.
Please help.
How can we go to the specific page from the _pageViews list
How would I remove a view after it's already added to the loop. For example, I add a placeholder UIImageView and then want to remove it after I've download an image to use in it's place.
When I try to show 2 images, the scroll only work to scroll back, it doesn't allow to scroll forward!
To caesarcat
I have a question about InfinitePagingView Example.
I have 5 different pictures. Picture called as "help" with numbers one and five. I have a for-loop which run image through. When I run the program, start it with the image help3.jpg in place for help1.jpg.
I'd rather like to have it start with picture help1.jpg.
Can you help me to solve the problem. I am new to iPhone programming.
Thanks for your help
Neruja Joseph
How to get image by tap on it. need to zoom image on touch in Horizontal paging (HPagingViewController).
could you plz make it auto scroll
Hello
nice work on this project..
i have 1 question....can we use a horizontal scrollview and as its pageviews to add vertical scrollviews?
no matter how i tried to make it work it only recognizes the horizontal swipe.
Thanks
When you try to put e.g. interactive buttons on this scrollview they're inactive (no response) by default. To make them work you should delete/comment the next:
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
{
UIView *hitView = [super hitTest:point withEvent:event];
if (nil != hitView) {
return _innerScrollView;
}
return nil;
}
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.