Post

Replies

Boosts

Views

Activity

Comment on navigationTitle with menu
Keep watching for changes after each beta release; the release notes show the main things but not everything. Browse through the documentation and look for the colour-coded APIs to see what's changed. I've found things that were released back in iOS 13 that I didn't know about.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Comment on update TabView background color
A SwiftUI approach can only be done from iOS 16. You could look into using a UITabBarController and wrapping each tab’s View in a UIHostingController but that might be a bit more work on your behalf.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Using Core Data objects with Transferable
In what documentation did you find this?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on largeTitleDisplayMode doesn't work when using UIHostingController
Does DashboardView have its own navigation bar? As in it's wrapped in a NavigationView (or similar) and sets its own title.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Can't change List background color in iOS 16
In beta 5, the first modifier seems to have been removed. Only the second solution will work. Note: you may have to use ignoresSafeArea(_:edges:) on the background colour/view for it to fill the entire screen.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on SwiftUI 4: Set list background color
In beta 5, the first modifier seems to have been removed. Only the second solution will work. Note: you may have to use ignoresSafeArea(_:edges:) on the background colour/view for it to fill the entire screen.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on I am using tabview more than 5 tabs on sixth tab it showing "More" option I want to hide it
They probably use custom tab bars.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on NavigationStack suggestions
Hashable inherits from Equatable, so there's no need to add that.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Picker Label not showing anymore
That's the new style in iOS 16. It makes it more obvious that it's a menu and aligns it more with macOS.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Alerts and Action Sheets not using SwiftUI accent color
You need to import SwiftUI or UIKit.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on navigationTitle with menu
Keep watching for changes after each beta release; the release notes show the main things but not everything. Browse through the documentation and look for the colour-coded APIs to see what's changed. I've found things that were released back in iOS 13 that I didn't know about.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Missing argument for parameter #1 in call, Insert '<#LocalizedStringKey#,>'
The NavigationLink needs to be embedded anywhere inside a NavigationView.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on error build: Cannot find 'NavigationStack' in scope
I am not having any of these problems. Running Xcode 14 RC on macOS 13.0 beta 7, targeting iOS and macOS.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on error build: Cannot find 'NavigationStack' in scope
That macOS build is not a macOS build, but the iOS build that can run on macOS.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on SwiftUI 4, IOS 16
I don't think there is a performance impact. The TabView is probably doing the same thing but also retaining each tab's view's state, as you mentioned below.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on Sheet Presented From List Showing Incorrect Data
Note: the id property can be anything unique. I just chose a UUID as it is generally always unique.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22