Platforms state of the union
Platforms state of the union
WWDC 2018
Purpose Strings
“ The app records you during the night to detect snoring sounds ”
✓ Explain how you plan to use the data
✓ Be specific
✓ Provide an example
Automatic strong passwords
- Available in iOS apps and Safari
- Synced across devices via iCloud Keychain
- Associate app with domain
- Label user name and password fields
- Express your password requirements
Security code AutoFill

Instruments

Custom Instruments Package

macOS (Mojave)
- the last macOS release to support 32bit apps
User consent for Data Access
- Location, Contacts, Photos, Calendar, Reminders, Camera, Microphone,
Mail database, Message history, Safari data, Time Machine backups,
iTunes device back-ups, Location and routines, System cookies
Enhanced Runtime Protections
- SIP Protections for your apps
- Strong code validation
- Protection from debugging and code injection
- Fully compatible with older release
- Managed directly in Xcode
- Optional
NOTARIZED
- Block malware
- Finer-grained revocations
iOS → macOS (comming soon 2019)

Dark Mode

Adopting Dark Mode


Design Tool


Completions

Source Control

- Easily rebase between branches
- Automatic SSH Key Create/ Upload
- Support for Bitbucket, GitLab
Editor




Debugging
- 5x Faster (Device Symbol Downloads)
Testing

Playground
- Run Without Restarting Session (Swift 4.2)
Swift 5 (Comming soon)
- Focus on binary compatibility
- Swift in the OS, thinned on app distribution
- Smaller downloads, faster launches
Core ML 2
- Batch API Performance improvements
- Smaller Models
Create ML


Siri Shortcuts
- userActivity.isEligibleForPrediction = true
- InRelevantShortcut() (watchOS)
Metal
- Deprecated in macOS Mojave, iOS 12, and tvOS 12
- API remain available for compatibility
- Metal Dependency Viewer (new)
- Metal Shader Debugger (new)
- GPU-Driven Command Encoding (Newly freed time for CPU)
- ML traning performance improvements using Metal
- TensorFlow (Training Inception V3) 20x Faster
- Ray Tracing
CPU (Ray-Trainagle Intersection Test + Material Shading) → GPU
Ar (Project Aero)
ARKit 2
- Improveed face tracking (ex. Tongue)
- Environment texturing
- Image detection and tracking 👍
- 3D object dectection: scanning 👍
- Save, load, and share maps 👍
- Demo SwifShot (developr.apple.com/arkit)