Using Xcode 11.4 beta fix the problem for me.
Post
Replies
Boosts
Views
Activity
Radar filed:FB7589325https://www.reddit.com/r/SwiftUI/comments/f60ubv/mastering_buttons_in_swiftui/fi6glvl/
So this is the deprecation I'm looking at:
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use navigationTitle(:) with navigationBarTitleDisplayMode(:)") @available(OSX, unavailable) @available(tvOS, unavailable) @available(watchOS, unavailable) public func navigationBarTitle(_ titleKey: LocalizedStringKey, displayMode: NavigationBarItem.TitleDisplayMode) -> some View Why is it marked "deprecated: 100000.0"? So it appears this is why I'm not seeing any deprecation warning. Can anyone explain how to see deprecation warning?
"Apple (and the Swift project) uses available: 9999 and deprecated: 10000 to indicate availablility for future (unannounced) versions of OSes or Swift."
So someone at SwiftUI need to fix "deprecated: 100000.0" to "deprecated: 14.0". This is a bug: FB7963358
See: https://forums.swift.org/t/dont-see-any-deprecation-warning-due-to-deprecated-100000-0-whats-the-rationale-for-marking-it-this-way/38404/2