Git Product home page Git Product logo

Comments (10)

SteveFortune avatar SteveFortune commented on July 18, 2024

What version of iOS and device are you running this on?

from between-kit.

SteveFortune avatar SteveFortune commented on July 18, 2024

I have a feeling this is related to #8 and how NSKeyArchiver / NSKeyUnarchiver are used to clone the cells for animation.

But need to know more about the dev environment to resolve.

from between-kit.

cvconover avatar cvconover commented on July 18, 2024

Xcode 5 (latest Mac Mavericks, latest update, powerbook that is about 5
months old).
Original app was target at iOS 4.x I believe. Hasn't been migrated to be
ARC so still lots of release/retain code.

from between-kit.

SteveFortune avatar SteveFortune commented on July 18, 2024

Hmm ok. Are you running it ok an iOS 7 simulator? Or a device? Ive only been using this on devices and simulators that are iOS 6 and up so if youre running it on a previous verion of iOS i can imagine there will be problems.

Anyways ill see if I can reproduce the bug and post an update.

.happy coding! :)

from between-kit.

cvconover avatar cvconover commented on July 18, 2024

I was testing with sim with deployment target set to 6.0 but base SDK set to 7.0 (based on some recommendation I read about). Testing on sim and iPad with iOS 6.1, it crashes. For some reason I can't get it to produce error stack trace and it just freezes on this line
https://github.com/ice3-software/i3-dragndrop/blob/master/Classes/I3DragBetweenHelper.m#L176

Not even pressing the "continue" in debugger makes it advance.

Like I said, unless this is important for you to fix, don't waste any time on me. I'll keep plugging away.
Cheers
Craig

from between-kit.

cvconover avatar cvconover commented on July 18, 2024

I read #8 but I have simple text only cells.
I found a workaround but not of its impact on anything else. I just commented out lines 175 and 176 of the helper class and it works fine.

https://github.com/ice3-software/i3-dragndrop/blob/master/Classes/I3DragBetweenHelper.m#L175

Any idea what the issue might be?

from between-kit.

SteveFortune avatar SteveFortune commented on July 18, 2024

Ah right its because we're removing and then re-adding a view to the same superview. I think a potential fix/workaround could be to make another copy of the draggingView and add that to the superview instead. Again, I'll check it out when I get a spare sec.

from between-kit.

SteveFortune avatar SteveFortune commented on July 18, 2024

See #29 for possible progress on this one.

from between-kit.

SteveFortune avatar SteveFortune commented on July 18, 2024

See most recent comment on #29

from between-kit.

SteveFortune avatar SteveFortune commented on July 18, 2024

Fixed for v2.

from between-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.