drumnkyle / kscardview Goto Github PK
View Code? Open in Web Editor NEWA robust, customizable, easy to use, subclass of UIView for iOS.
License: MIT License
A robust, customizable, easy to use, subclass of UIView for iOS.
License: MIT License
2013-10-05 08:45:48.282 KSCardViewDemo[56437:a0b] -[MainViewController cardDidLeaveTopEdge:]
2013-10-05 08:45:48.310 KSCardViewDemo[56437:a0b] * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[**NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
* First throw call stack:
(
0 CoreFoundation 0x017425e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x014c58b6 objc_exception_throw + 44
2 CoreFoundation 0x016e3556 -[__NSArrayM objectAtIndex:] + 246
3 KSCardViewDemo 0x0000a113 -[MainViewController cardDidLeaveTopEdge:] + 275
4 KSCardViewDemo 0x00006104 -[KSCardView touchesEnded:withEvent:] + 1204
5 libobjc.A.dylib 0x014d7874 -[NSObject performSelector:withObject:withObject:] + 77
6 UIKit 0x00390f92 forwardTouchMethod + 271
7 UIKit 0x00391002 -[UIResponder touchesEnded:withEvent:] + 30
8 UIKit 0x002770cd -[UIWindow _sendTouchesForEvent:] + 852
9 UIKit 0x00277d34 -[UIWindow sendEvent:] + 1232
10 UIKit 0x0024ba36 -[UIApplication sendEvent:] + 242
11 UIKit 0x00235d9f _UIApplicationHandleEventQueue + 11421
12 CoreFoundation 0x016cb8af __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 15
13 CoreFoundation 0x016cb23b __CFRunLoopDoSources0 + 235
14 CoreFoundation 0x016e830e __CFRunLoopRun + 910
15 CoreFoundation 0x016e7b33 CFRunLoopRunSpecific + 467
16 CoreFoundation 0x016e794b CFRunLoopRunInMode + 123
17 GraphicsServices 0x036939d7 GSEventRunModal + 192
18 GraphicsServices 0x036937fe GSEventRun + 104
19 UIKit 0x0023894b UIApplicationMain + 1225
20 KSCardViewDemo 0x00002e8d main + 141
21 libdyld.dylib 0x01d7e725 start + 0
)
Thanks for the awesome and amazing control!
However, I lack support to programmatically hide cards without the touch gesture. Is it possible to implement such support?
I'm not sure if this is an issue on your end or my end, but I thought I might discuss it with you.
I have UITableViews in three cards, one tableview per card. When I'm switching between cards, the tableviews respond just fine after switching to a new view. However, if the card rubberbands back to itself, the tableviews stop responding. I haven't exactly looked into this extensively on my own, but I was wondering if you have any ideas on what's causing this and a possible fix?
Hi,
This is really great control, and also flexible enough to work with iPhone as well as iPad. Although I would like to have a support for Tap event.
Currently, I am adding Button as subview to card but it is not passing events properly on Touch Up. So, I tried adding Tap Gesture Recognizer on the Card View, but it is making problems for swipe up, down, left, right gestures.
Could you give us a delegate method support for Taping on the view.
i see the demo code its great.
but i want some more functionality like i need more than one view means need to show three card at same time, center one is main on which we can perform operation and two other view next and previous show like half image we can see both side.
Please provide this thing if possible.
Thank you in advance.
Hi,
thank you for making such an awesome control. While playing with it, I thought I found an issue with memory. if you try to add a good amount of cards or just make them loop circularly, you will see the memory keep increasing when it presents a new card. I'm currently trying to fix this bug, but have found out yet. Please help me to fix this issue if you think it's legit. Otherwise, let me know any hint that you can think of.
Thanks a lot.
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.