Alasdair.md

← Blog


Summarised noted, mostly for myself, of interesting 2015 WWDC sessions. I’ll update them as I watch

###State of the Platform

App thinning

BitCode

#####watchOS2 Bringing native watch apps in watchOS2

Complications

Notification

####Foundation Technologies Security

IPV6

Internationalization

Universal Links

Search

Multitasking

SWIFT

xCode 7


###Introducing watchOS 2.0

#####What’s new in WatchKit New crown activated selectors.

Animation

Haptic engine

Audio recorder and speaker access.

Video playback

Audio playback

New Alert API

Improved visuals

####New/Improved SDKs in watchOS

ClockKit

WatchConnectivity

CoreMotion

Security


Introducing Search APIs

Three new related search APIs

NSUserActivity

NSUserActivity objects are created as user is using your app and added to the On-Device Index.

NSUserActivity has properties to describe

If an NSUserActivity is designated as public, when it’s index (via the user using the app) this activity is indexed by the iCloud index and the activity is available to all users via Spotlight. If NSUserActivity contains web url, then it’s available in Safari such as well.

Making NSUserDefaults public doesn’t mean it’s indexed. Only indexed if searched in spotlight and engaged by many users.

By adding NSUserActivity to the app you get

CoreSpotlight

Create CSSearchableItem, add metadata via CSSearchableItemAttributeSet and then add to CSSearchableIndex datastore.

When user taps on search result, the unique id of the CSSearchableItem is returned and that item can be retrieved from the CSSearchableIndex datastore.

The CSSearchableIndex

#####Web Markup

Applebot has been crawling the web looking for mobile deep links. Applebot searches supports popular standards such as Smart App Banners, Twitter Cards and Facebook’s App Links.

New iOS9, universal links, link back to your application with normal looking HTML. See Seamless Linking to Your App

Ranking

The NSUserActivity ranking is determined by many factors