Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Effective UIScrollView

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

Effective UIScrollView

Avatar for Jiro Nagashima

Jiro Nagashima

March 12, 2015
Tweet

More Decks by Jiro Nagashima

Other Decks in Technology

Transcript

  1. override func hitTest(point: CGPoint, withEvent event: UIEvent?) -> UIView? {

    let hitView = super.hitTest(point, withEvent: event) if hitView == self { return nil } return self } ରॲ๏
  2. override func hitTest(point: CGPoint, withEvent event: UIEvent?) -> UIView? {

    let hitView = super.hitTest(point, withEvent: event) if hitView == self { return nil } return self } ରॲ๏ w )JU5FTUͰ6*4DSPMM7JFXͷ λοϓ൑ఆΛແࢹͤ͞Δ