Giter Site home page Giter Site logo

EXC_BAD_ACCESS on Swift 2.0 about koloda HOT 17 CLOSED

yalantis avatar yalantis commented on May 19, 2024
EXC_BAD_ACCESS on Swift 2.0

from koloda.

Comments (17)

Bashta avatar Bashta commented on May 19, 2024 3

Had the same problem. Resolved by selecting the kolodaView in interface builder then in the identity inspector set the Class of the view to "KolodaView" and the Module to "Koloda"

from koloda.

Bashta avatar Bashta commented on May 19, 2024

I have not such a problem. I am setting the delegate in code and all the delegate methods are being called properly.

from koloda.

Bashta avatar Bashta commented on May 19, 2024

This is not the appropriate place.

from koloda.

AEugene avatar AEugene commented on May 19, 2024

I updated Koloda repository to proper Swift 2.0 integration. I checked last version and there is no issues like this.

from koloda.

Bashta avatar Bashta commented on May 19, 2024

Thank you will give it a try asap as i am currently using Koloda in one of my projects.

from koloda.

Bashta avatar Bashta commented on May 19, 2024

Working fine on 7.0! Thank you a lot!

from koloda.

RayanSaeed avatar RayanSaeed commented on May 19, 2024

kolodaView.delegate = self

I have this line very clearly and 100% surely in my code.. But still the delegate methods are not getting called. Why is that?????

from koloda.

AEugene avatar AEugene commented on May 19, 2024
  1. Check outlets
  2. Check the delegate methods
    You can see example in repository

from koloda.

RayanSaeed avatar RayanSaeed commented on May 19, 2024
  1. Outlets checked.. Like literally a million times... The cards are showing up, so the dataSource is connected. But delegate methods are not getting called...

  2. I've added println() statements inside this function
    func cardTapped(card: DraggableCardView) {
    let index = currentCardNumber + find(visibleCards, card)!
    println("The card was tapped and delegate is (delegate)")
    delegate?.kolodaDidSelectCardAtIndex(self, index: UInt(index))
    }

and this is what prints out when I tap the card.. "The card was tapped and delegate is nil"

screen shot 2015-09-21 at 5 01 36 pm

from koloda.

RayanSaeed avatar RayanSaeed commented on May 19, 2024

@AEugene I've attached a screenshot in the last comment also.. I will be really thankful. If you could just just take out 5 minutes. Please

from koloda.

AEugene avatar AEugene commented on May 19, 2024

@RayanSaeed Issues should be fixed with #41

from koloda.

RayanSaeed avatar RayanSaeed commented on May 19, 2024

@AEugene Okay.. That's good but actually I'm using Xcode 6.4 as of now, and can't update to Koloda 2.0.1.... So can you please suggest me what to do now?? or how can I update my project so that this issue is fixed and project doesn't break...

from koloda.

AEugene avatar AEugene commented on May 19, 2024

@RayanSaeed I didn't encounter this issue on versions for swift 1.2. And you're writing in unrelated to your issue thread.

from koloda.

RayanSaeed avatar RayanSaeed commented on May 19, 2024

@AEugene So should I create another issue for this?? Will you reply there?? Because I don't know if I'll get hold of someone from Yalantis because you can understand and solve my problem like no one else...

from koloda.

Kourghan avatar Kourghan commented on May 19, 2024

Hello @RayanSaed!
Yes, it's better to create another issue for your problem.
However soon we are going to drop support issues on swift version under 2.0 (starting from Xcode 7.0).

from koloda.

RayanSaeed avatar RayanSaeed commented on May 19, 2024

@Kourghan Okay then actually I'm already downloading Xcode 7 (1.64/3.59GB done).

But can you help me with #40 ??

from koloda.

Kourghan avatar Kourghan commented on May 19, 2024

@RayanSaeed Sure, I'll check it.
Closing this one.

from koloda.

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.