Comments (29)
Hi!
I think this is documented somewhere... I had this exact same issue and remember passing on a fix to someone. Let me see if I can dig it out.
from between-kit.
Okay thanks you because Im going crazy with this...
from between-kit.
@snakelecaps, are you using a custom UI[ TableView | CollectionView ]Cell ?
from between-kit.
@SteveFortune Yes
from between-kit.
@snakelecaps are you able to share the code for your custom cell class ? I know there are some issues with custom cells (see #8).
from between-kit.
I can not share with you the entire classe (Code & Etics) but perhaps a small part of if.
Im currently not on my mac computer so i will share later.
I will read your link , thanks.
from between-kit.
Ok, speak soon !
from between-kit.
hi,
UICollectionView *productsCollectionView;
UITableView *tableview;
i
Im going to check your link right now
Thanks
from between-kit.
Im trying using Nscoder instead of NSKeyedArchiver but i dont know where to put i? in my controller.m or I3DragBetweenHelper.m ?
from between-kit.
Check out the new code snippet provided an as example in the Example directory (on the dev branch).
from between-kit.
i read it, nice example thanks you.
But i dont know how and where implement this class?
Do i have to modify your I3DragBetweenHelper Class ?
Do i have to put in my class where i create tableView?
Thanks
from between-kit.
And like i said, this is not working ONLY when i double tap on my item and try to drag...
Simple drag works... :-)
from between-kit.
Are you using the latest version of the library on master?
from between-kit.
yep, but i did like i said to you in the first place, i catched some gesture...
The thing with Nscoder was so troublesome and i dont have much time.
ps: and i m a beginner on IOS :-)
from between-kit.
I will see if I can recreate the issue. Are you running the app on a Simulator or actual device? What version of iOS is the device ?
from between-kit.
Im running in iphone 5 IOS 7.1
Please how to disabled the selection (grey background) of a items (TableView)
from between-kit.
from between-kit.
I see, maybe i can add the line before
cellCopy = [self copyOfView:cell]; Line 323 and 329?
from between-kit.
You should not need to modify the helper class, you could trying 'turning off' highlighting for each cell in your controller's tableView:cellForRowAtIndexPath:
from between-kit.
Nicem its working - thanks you
from between-kit.
Great. Closing this issue now.
from between-kit.
Hi Steve,
I am having the same crash issue " [NSKeyedUnarchiver decodeBoolForKey:]: value for key (UIHighlighted) is not a boolean' ".... when taping once then tap again to drag. But I am using UICollectionView in my case. I try the above solution to set in 'cellForItemAtIndexPath' : setHighLighted:NO or setSelected:NO, nothing could stop from crashing. In my Custom Cell, I have only a UIImageView. The only thing I can do is to set cell 'setUserInteractionEnabled:NO'. By doing this I still can drag n drop but I need to perform an action when user taps. Could you help please?
Many thank in advance! Your helpers in great.
James.
from between-kit.
Hi !
I'll reopen this and have another look. I know it was definately an issue in one of my apps.
It might be a case of finding an alternative to the NSKeyed[ Archiver | Unarchiver ]
.
Thanks!
from between-kit.
I'd try Nscoder but....
from between-kit.
Many thanks Steve for opening again this issue.
Additional details, the issue happens in both src and dest UICollectionView when taping once and tap again to drag.
I am a beginner in iOS, If this could help other people who are facing the same problem, my temporary workarround for my case is to create a UIButton to cover the Cell. I set the Button background to clear color. When the button is tapped, I trigger a method to perform what I want. So the Cell heighlignting or selecting will never get called (so no crash).
I know this goes against the purpose of delegate method 'collectionView:didSelectItemAtIndexPath:' until we have a fix.
Regards,
James.
from between-kit.
Just ad update - I've scheduled some maintenance time this coming Sunday to work on this issue. Sorry its been so long, haven't had much time to work on this lately.
from between-kit.
See comments on #29 for progress
from between-kit.
See most recent comment on #29
from between-kit.
Fixed for v2.
from between-kit.
Related Issues (20)
- CGPoint delegate options where possible
- Abstract away geometric conversion from the coordinator
- Scroll UICollectionView when dragging in progress HOT 2
- Fix link in README
- Mailing list
- Submit PRs to notable iOS community repos
- iOS 8.3, 8.4, 9.0 testing
- Dragging from collections in collectionview cells HOT 2
- Custom UICollectionViewFlowLayouts
- More detail in StackOverflow answers
- Use OCMock -invokeBlock and invokeBlockWithArguments
- Update copyright notices with correct dates
- Improve CocoaPods quality estimate HOT 1
- tvOS, watchOS integration?
- Functional tests
- Consider removing numbering scheme from Use Cases
- How to scroll UITableView while dragging UITableViewCell? HOT 3
- Get drag events while dragging. HOT 4
- Typo in Docs/Usage.md
- How to deactivate/activate dragging functionality?
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 between-kit.