WWDC19
=================
- Table of Contents
- Platforms State of The Union - Monday
Video: https://developer.apple.com/videos/play/wwdc2019/103/
A brand-new UI framework!
-
Declarative
- Writing code like declaring something in a normal sentence. One liner code pieces to define whole UI elements with fonts and colors etc.
-
Automatic functionality wherever possible
- One line of code animations
- Transitions with offsets and simple parameters
-
Compositional
- Compose multiple smaller pieces together
-
Consistent
- Automatic data source updates anytime the data changes
- Mutable states with
@State
to apply to variables
-
Live development experience
-
Interactive SwiftUI documentation
-
Can be mixed with the existing code
-
Github support for swift packages in github packages registry
-
Swift packages are finally available for all apple platforms
-
Editors in XCode
-
Minimap on the right pane
MARK
is now visible on the minimap and holding down the cmd key shows methed and variable names for easy navigation
-
Refactor and rename now applies to documentation as well
-
Live comparison of the diff with the previous commit
-
Related content
- Visible when needed, hidden when there is no content
-
- Combination of tests, with different tools & devices runs in a laned style
-
- Simulations like network and device temperature
-
Result bundles to see the details of a test suite
-
- App metrics
- Anonymized metrics for device statuses like battery, memory usage etc.
- Integrated feedback in testflight
- Getting a screenshot brings a feedback form for testflight users
- App metrics
-
-
-
- Click the checbox in XCode 11 for mac
-
- Make your iPad better by adapting larger layouts and keyboard behaviors
-
- Refine the implementation for macOS specific features
-
-
Dedicated read-only system volume to enhance security by limiting the access control
- User data & apps
- Operating system
- Independent experience by running standalone on the watch exclusively
- Supports running without iOS app (this is a checkbox in the target settings)
- Self-care, mindfulness, physical therapy, smart alarms APIs
- SwiftUI to build easy watch app features
- Direct download and smaller bundles
-
- Minimal chrome
- Content focused
- Semantic colors
- Lighter layers above to enhance focus in the dark mode
- Adaptive materials
-
- Default presentation style now rather than a fullscreen modal
- Dismissable easily by swiping down
-
- SF Symbols with more than 1500 symbols to scale along with the text when the font sizes change
-
UIWindowScene
API- A new
SceneDelegate
object separate fromAppDelegate
to handle multitasking scenes - A new state restoration system using the
NSUserActivity
API
-
PencilKit
-
- Using
NSUndoManager
, pinches and swipes for undo & copy & paste
- Using
-
- Quick start
- Easier customizability in the settings app
-
- Comprehensive
- Text editing
- Awareness
- Spoken gestures
-
Design for privacy
- Process on device
- Ask first
- Use random identifiers
- Encrypt
-
Allow once
-
Two staged location access for, only when in use and always allow
-
- Fast, easy signing without all the tracking
- Streamlined account setup
- Verified email addresses
- Built-in security with always on 2FA
- Available on Android and Web as well!
-
5 trillion operation per second capable neural chip
-
Text recognition from an image
-
Image saliency to define a heat map on an image to find focus areas on a given picture
-
On-device speech
-
Speech saliency to understand the pronunciation, pitch and cadence of a speech
-
- Now a macOS app which lets a user build an ML model with zero
- Realtime feedback on model training
- Get to experiment and preview models
- Shortcut app
- Automations to have combined scenarios for specific app actions
-
- Layout AR experiences in 3D
- macOS, iOS and iPadOS
- Guaranteed to look great
-
- Modern real-time 3d engine
-
- Simultaneous use of front and back camera
- People occlusion
- Motion capture
-
Easy to use
-
Powerful compute
-
Built for pros
-
Metal support in iOS simulator
-
Metal memory debugger