The speaker mentions there is less risk of creating a retain cycle in when capturing self in a closure within a value type, such as a SwiftUI view struct. Can you elaborate on when this could actually occur? Thanks!
Search results for
[tags:wwdc20-10028]
2 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I noticed there is logging API in this session which doesn't seem to be public right now: logger.log((offerID, align: .left(columns: 10), privacy: .public)) OSLog has no log method (https://developer.apple.com/documentation/oslog) and log isn't part of the current SwiftLog API. (https://github.com/apple/swift-log) Is there another new API I missed or is this going to be coming in a future version?