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

First step of 3D touch

sonson
November 08, 2016

First step of 3D touch

sonson

November 08, 2016
Tweet

More Decks by sonson

Other Decks in Programming

Transcript

  1. How to show it. Tech. Yuichi Yoshida Researcher, DENSO IT

    Laboratory, Inc. #???? @sonson_twit © 2014 DENSO IT Laboratory, Inc., All rights reserved. Redistribution or public display not permitted without written permission from DENSO IT Laboratory, Inc. First step of 3D touch
  2. ࣗݾ঺հ • sonson • twitter: sonson_twit • github: sonsongithub •

    portfolio • reddift(SwiftͰॻ͍ͨreddit.comͷAPIϥούʔ) • ࢓ࣄ • ը૾ೝࣝ/ݕࡧ/ͦΕΛ࢖ͬͨΞϓϦ • ػցֶशͷ͓ษڧͱ͔ॾʑͱ͔
  3. UIView.convert • ͋Δview͔Βݟͨɼ͋ΔviewͷrectΛܭࢉͯ͘͠ΕΔ • a.convert(rect:, to:b) • view a಺ͷrectΛview b͔Βݟͨrectʹม׵

    • a.convert(rect:, from:b) • view b಺ͷrectΛview a͔Βݟͨrectʹม׵ • ఺΋͋Γ·͢ • a.convert(point: to:b) • a.convert(point: from:b)