Comments (17)
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.
I have not such a problem. I am setting the delegate in code and all the delegate methods are being called properly.
from koloda.
This is not the appropriate place.
from koloda.
I updated Koloda repository to proper Swift 2.0 integration. I checked last version and there is no issues like this.
from koloda.
Thank you will give it a try asap as i am currently using Koloda in one of my projects.
from koloda.
Working fine on 7.0! Thank you a lot!
from koloda.
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.
- Check outlets
- Check the delegate methods
You can see example in repository
from koloda.
-
Outlets checked.. Like literally a million times... The cards are showing up, so the dataSource is connected. But delegate methods are not getting called...
-
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"
from koloda.
@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.
@RayanSaeed Issues should be fixed with #41
from koloda.
@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.
@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.
@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.
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.
@Kourghan Okay then actually I'm already downloading Xcode 7 (1.64/3.59GB done).
But can you help me with #40 ??
from koloda.
@RayanSaeed Sure, I'll check it.
Closing this one.
from koloda.
Related Issues (20)
- Like and Dislike Image
- Add support for Swift Package Manager HOT 5
- kolodaNumberOfCards is not being called when push new view controller
- Is it possible to angle the card stack downwards?
- Tap to scroll functionality in a single view with multiple images HOT 1
- card is not swiping on button click HOT 5
- How to use tableview inside kolodaview
- Swipe dragging (animation) not functioning when build target iOS 14 ->
- SPM support HOT 3
- Set initial index
- Replace Class-Only Protocol from class to AnyObject
- Resolving Issues for SPM Support HOT 1
- The animation is not showing when we swipe the view HOT 1
- How to detect the card overlaps the cross button or tick button?
- How to allow only left swipe Any guide line for that ? HOT 1
- Undo action on right/left swipe not working
- Kolada View leaves stains of previous view
- Add support of Swift Package Manager (SPM)
- I don't wanna allow the touch event for vertical and right direction, just need for the left swipe. Even the bounce effect. allowedDirectionsForIndex should have a param to not allow the bounce effect for others directions.
- Privacy manifest required by Apple
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 koloda.