kkbox wwdc17 sirikit and corespotlight - seraph

45
This presentation is provided on a strictly private and confidential basis for information purposes only. WWDC 2017 讀書會 presented by Seraph Lin, iOS 開發部 2017/07/14

Upload: liyao-chen

Post on 22-Jan-2018

2.044 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

This presentation is provided on a strictly private and confidential basis for information purposes only.

WWDC 2017 讀書會

presented by Seraph Lin, iOS 開發部

2017/07/14

Page 2: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Sessions

● What’s new in SiriKit

● Making great SiriKit experiences

● What’s new in Core Spotlight for iOS and macOS

Page 3: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

What’s New in SiriKit

● Domains and intents

● Customizable UI

● Additional Enhancements

Page 4: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Domains and Intents

● Payments

● List and notes

Page 5: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Payments

● Send/Request

● Bills

● Accounts (new in iOS 11)

○ Transfer

○ Search

Page 6: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Payments

● Transfer between accounts

Page 7: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Payments

● Account info

Page 8: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Lists and Notes

● INCreateListIntent

● INAddTaskIntent

● INSetTaskAttributeIntent

● INSearchForNoteItemIntent

○ title

○ content

○ itemType

○ status

○ location

○ dateTime

Page 9: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Customize UI

Page 10: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 11: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 12: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 13: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 14: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 15: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 16: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 17: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Making Great SiriKit Experiences

● Custom vocabulary

● UI testing

Page 18: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

● Help Siri understand words unique to users

● Contact, photo, album and keyword, car, workout, bank,

account, note, list item

● Use INVocabulary API

Custom Vocabulary

Page 19: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 20: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 21: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 22: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 23: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 24: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

● Inside your Xcode

● Siri in simulator lets you test on multiple devices

● Automate your tests to check and maintain quality

● Language independence

UI Testing

Page 25: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 26: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

What’s New in Core Spotlight for iOS and macOS

● Quick Look Previews

● Ranking

Page 27: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Quick Look Previews

● Content previewd when you peek and pop on Spotlight

results

● Spotlight provides a default preview

● Create a Quick Look Preview extension to customize your

preview

Page 28: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 29: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 30: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 31: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 32: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 33: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 34: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 35: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 36: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Ranking

● New attributes to let developer inform spotlight ranking

Page 37: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 38: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

One More Thing...

Page 39: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Nutural Language Processing

● New NSLinguisticTagger APIs

Page 40: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 41: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 42: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 43: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph
Page 44: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

Nutural Language Processing

DEMO

Page 45: KKBOX WWDC17  SiriKit and CoreSpotlight - Seraph

This presentation is provided on a strictly private and confidential basis for information purposes only.

THANK YOU