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

WWDCに学ぶライブコーディングwithCoreNFC/livecoding_with_wwd...

fromkk
June 30, 2017

 WWDCに学ぶライブコーディングwithCoreNFC/livecoding_with_wwdc_and_corenfc

LIFULLさんのWWDC - Developer's Livingというイベントで発表した内容です。

fromkk

June 30, 2017
Tweet

More Decks by fromkk

Other Decks in Programming

Transcript

  1. ๻΋͍͔ͭ͘ൃද͖ͯ͠·ͨ͠ 4 Swift 4͔Β࣮૷͞ΕΔCodable at AKIBA.swift 4 # Type ʹDrag

    and Dropͷ࣮૷Λͯ͠Έͨ at WWDC After Party @Ebisu 4 Depth APIͰ؆қΫϩϚΩʔ߹੒ at GEEK GARAGE iOS vol3 5
  2. ར༻ํ๏ extension NFCViewController: NFCNDEFReaderSessionDelegate { func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs

    messages: [NFCNDEFMessage]) { messages.forEach { (message) in message.records.forEach { let payload: String = String(data: $0.payload, encoding: .utf8) ?? "" print("payload", payload) } } } func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error) { print(error) } } 21