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

WWDC2020 Summary

WWDC2020 Summary

Alexander Saenko

July 14, 2020
Tweet

More Decks by Alexander Saenko

Other Decks in Programming

Transcript

  1. EDUCATIONAL INITIATIVE ESTABLISHED TO SHARE KNOWLEDGE AND EXPERIENCE WITH IT

    COMPANIES AND TECH COMMUNITY SIGMA SOFTWARE UNIVERSITY
  2. ▪ Intro ▪ General Updates ▪ Xcode 12 & Swift

    5.3 ▪ UIKit ▪ Testing ▪ SwiftUI ▪ Security & Privacy Agenda 4 ▪ WKWebView ▪ New Features ▪ Apple Silicon ▪ AppClips ▪ WidgetKit ▪ Few More Things ▪ Outro
  3. ▪ [NEW] Developer app (iOS + macOS) ▪ All presentations

    have Russian subtitles WWDC 2020 6 https://apps.apple.com/us/app/apple-developer/id640199958 https://twitter.com/JPEGuin/status/1275478690336563205?s=20
  4. Swift Package Manager 14 https://developerinsider.co/whats-new-in-xcode-12/ ▪ You can now declare

    conditions for a Swift package’s target dependencies ▪ SPM can now contain resources such as images, asset catalogs, storyboards, and other files. ▪ SPM can now contain localized content for any resource in the package.
  5. Playground 18 ▪ Now supports asset catalogs. ▪ Can now

    import and use Swift packages and frameworks.
  6. New and Ported UI Components 37 https://www.hackingwithswift.com/articles/221/whats-new-in-swiftui-for-ios-14 https://habr.com/ru/post/508002/ ▪ TextEditor

    for multi-line text ▪ MapView ▪ UICollectionView => LazyVGrid/LazyHGrid ▪ Paging via TabView ▪ SpriteKit ▪ ProgressView (loading indicator or determined loading view with the end value) ▪ Native video player (for local and remote videos) ▪ Labels with text and image ▪ `Link` for tappable web links launching outside Safari (by showing clickable text or button with image) ▪ DisclosureGroup for showing expanding cell-like content ▪ Toolbar items ▪ Sidebar for iPadOS ▪ Support for document-based apps (for editing text, images, videos, etc.). ▪ Color & Date pickers
  7. New Modifiers 38 ▪ MatchedGeometryEffect. Makes synchronization animations from one

    view to another ▪ ScrollViewReader. Scrolling to specific Scroll view’s position ▪ Full-screen cover ▪ Better dates formatting. ▪ onChange for @State properties ▪ New colored SF Symbols ▪ Exporting files using native tool ▪ onContinueUserActivity for handling activities (like Spotlight) https://www.hackingwithswift.com/articles/221/whats-new-in-swiftui-for-ios-14 https://habr.com/ru/post/508002/
  8. New Property Wrappers 39 ▪ @AppStorage for UserDefaults ▪ @ScaledMetric

    for supporting dynamic types ▪ @SceneStorage for restoring state from scene contents ▪ @StateObject as a replacement for @ObservedObject for reference objects. ▪ @UIApplicationDelegateAdaptor that will manage all events from App to AppDelegate https://www.hackingwithswift.com/articles/221/whats-new-in-swiftui-for-ios-14 https://habr.com/ru/post/508002/
  9. WKWebView Updates 47 https://developer.apple.com/videos/play/wwdc2020/10188/ https://nemecek.be/blog/32/ios-14-what-is-new-for-wkwebview ▪ Intelligent Tracking Prevention by

    default ▪ Sandboxing for JavaScript ▪ Better JavaScript evaluation with callAsyncJavaScript ▪ Create PDF from page
  10. AppClips 54 https://ericasadun.com/2020/06/23/app-clips-when-is-an-app-an-app-and-when-should-it-be-a-webpage/ https://wwdcbysundell.com/2020/a-first-look-at-app-clips-in-ios-14/ ▪ Small pieces of functionality from

    your app ▪ Cannot exceed 10 megabytes ▪ Can request permissions as “real app” (except HealthKit API) ▪ App Clips are activated is very similar to the way that Universal Links work
  11. SF Symbols 2.0 60 https://www.avanderlee.com/swift/sf-symbols-guide/ https://sfsymbols.com ▪ SF Symbols 2.0

    includes over 750 new symbols, including devices, health, transportation symbols, and more. ▪ SF Symbols 2.0 adds support for multicolor symbols