Giter VIP home page Giter VIP logo

gesturerecognizerclosures's People

Contributors

ewg777 avatar marcbaldwin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gesturerecognizerclosures's Issues

4.0 crash with "unrecognized selector sent ..."

Steps to reproduce:

  • Upgrade to 4.0 (for me it was from 3.1.0)
  • Run app that was fine with 3.1.0
  • Tap view with installed tap gesture recognizer
  • boom

Error
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_TtGC25GestureRecognizerClosures14ClosureHandlerCSo22UITapGestureRecognizer_ handle]: unrecognized selector sent to instance 0x600000037200'

Comments
I'm using this library in a demo app that is quite simple. I have two gesture recognizers attached to the same image: one single tap, the other a double tap. The app works fine with version 3.1 but not after upgrade to 4.0. The crash happens immediately on the tap and the underlying block is not called.

I've rolled back to 3.1 to verify correct behavior and upgraded to 4.0 again to validate crashing behavior (with no other changes to app of course).

Issue after update to Swift 3.1 and XCode 8.3

Issue in calling convenience init of super class in

public extension UITapGestureRecognizer {

/**
    Initializes a touch gesture-recognizer with the specificed number of taps, touches and handler
 */
public convenience init(taps: Int = 1, touches: Int = 1, handler: @escaping (UITapGestureRecognizer) -> Void) {
    self.init(handler: handler, type: UITapGestureRecognizer.self)
    numberOfTapsRequired = taps
    numberOfTouchesRequired = touches
}

}
Argument labels '(handler:, type:)' do not match any available overloads

`GestureRecognizerClosures` does not specify a Swift version

I see this when I try and use this with Rome:

- GestureRecognizerClosures does not specify a Swift version and none of the targets (BusyCaliOSandBusyCaliOSTests) integrating it have the SWIFT_VERSIONattribute set. Please contact the author or set theSWIFT_VERSION attribute in at least one of the targets that integrate this pod.

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.