crosswaterbridge / gmcpagingscrollview Goto Github PK
View Code? Open in Web Editor NEWHorizontally scrolling paging UIScrollView that supports page preloading, page dequeuing, and infinite scrolling.
License: MIT License
Horizontally scrolling paging UIScrollView that supports page preloading, page dequeuing, and infinite scrolling.
License: MIT License
#MyViewController.m
...........
GMCPagingScrollView *pagingScrollView = [GMCPagingScrollView new];
[pagingScrollView registerClass:[VideoView class] forReuseIdentifier:kYVideoID];
.............
I have a subview of video player in the VideoView.m, i can not close the video when the viewcontroller is dismissed.
Hello,
Is there a way to preview the prev/next slides with clipsToBounds = NO when the scrollview is smaller than the screen.
Currently the prev/next slide is only displayed when I start dragging.
Many thanks
Having some issues and noticed the lib hasn't been updated in 3 years. Just wondering if there are any known alternatives
If I call [self.pagingScrollView setCurrentPageIndex:page animated:YES];
with page = 1 and I'm on page = 0 then I see a long scroll the page which should be it's next neighbour.
An example project is included,you should see that when you click the button you should move one to the right but instead, move far left to the beginning!
PagingScrollTest.zip
My device is iPhone 5S (iOS 8.3), i changing current display developing app to another app, after seconds, i return back to developing app, then, app crashed with underneath error:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x127f6ef50 of class GMCPagingInternalScrollView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x174a56c80> (
<NSKeyValueObservance 0x1704c3fe0: Observer: 0x127f6f5c0, Key path: contentOffset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x170640a80>
<NSKeyValueObservance 0x1704c3f70: Observer: 0x127f6f5c0, Key path: contentSize, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x170640c90>
<NSKeyValueObservance 0x1704c65f0: Observer: 0x127f6f5c0, Key path: frame, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x170640e10>
<NSKeyValueObservance 0x1742d6ea0: Observer: 0x127f70240, Key path: contentOffset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x170640a80>
<NSKeyValueObservance 0x1742d7300: Observer: 0x127f70240, Key path: contentSize, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x170640c90>
<NSKeyValueObservance 0x1742dc4d0: Observer: 0x127f70240, Key path: frame, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x170640e10>
)'
Is there need to implement - (void)dealloc
to remove observers? but i don't find the addObserver
code.
Sorry for my pool english.
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.