What's new in Xcode

RSS for tag

Discuss the WWDC22 Session What's new in Xcode

Posts under wwdc2022-110427 tag

6 Posts

Post

Replies

Boosts

Views

Activity

SwiftUI: Bottom sheet from the iPhone "find my" and "maps" app
I would like to include the bottom sheet from the iPhone "find my" and "maps" app in my app. During my research I came across the new modifier .presentationDetents for sheets. The only problem here is that you can no longer interact with the main screen when the sheet is active. In my app, however, I would like the sheet to be active all the time like in the iPhone apps mentioned and that you can still interact with the main screen like in the iPhone apps with the map. I would be very happy about help. Greetings
10
4
5.8k
Oct ’24
Picker inside toolbar does not update selection properly
I have a simple List inside a NavigationView with a toolbar that contains a Picker. When I select an option in the picker, the variable value changes, but when I click again on the picker it shows the default variable value. This does not seems to happen when I put the picker on another container, for example directly in the List, so it seems to be a problem with the toolbar itself. Here is my code: struct ExampleView: View { //this is a enum that conforms Equatable, Hashable, CaseIterable     @State private var sort: MediaListSort = .updatedTimeDesc     var body: some View {         List { //...         }         .toolbar {             ToolbarItem {                 Picker("Sort", selection: $sort) {                     Text("Title").tag(MediaListSort.mediaTitleNativeDesc)                     Text("Score").tag(MediaListSort.scoreDesc)                     Text("Last Updated").tag(MediaListSort.updatedTimeDesc)                     Text("Last Added").tag(MediaListSort.addedTimeDesc)                 }             }         }     } } Behaviour: I am currently using the latest Xcode 14 beta 04, so I am not sure if this issue is related to that.
5
1
2.9k
Aug ’22
What's New Xcode Server, no longer supported? Why?
Our team always use Xcode Server, we love this tool with Xcode IDE. At this Xcode 14 beta 4, "Xcode Server is no longer supported. (73888675)" Why do this for us? Need we move to Xcode Cloud? How to figure out private CocoaPods? We have may lib 200+, how to move to Cloud? Please keep update Xcode Server, or Open Source it, how to integration with Xcode IDE, we love this feature. By the way, for Xcode Server new feature need update. The execution of multi-tasking(Xcode Bots) ensures that the machine will not hangs. Update couthDB and couthJS with M1.
0
1
1.6k
Aug ’22
SwiftUI: Bottom sheet from the iPhone "find my" and "maps" app
I would like to include the bottom sheet from the iPhone "find my" and "maps" app in my app. During my research I came across the new modifier .presentationDetents for sheets. The only problem here is that you can no longer interact with the main screen when the sheet is active. In my app, however, I would like the sheet to be active all the time like in the iPhone apps mentioned and that you can still interact with the main screen like in the iPhone apps with the map. I would be very happy about help. Greetings
Replies
10
Boosts
4
Views
5.8k
Activity
Oct ’24
Picker inside toolbar does not update selection properly
I have a simple List inside a NavigationView with a toolbar that contains a Picker. When I select an option in the picker, the variable value changes, but when I click again on the picker it shows the default variable value. This does not seems to happen when I put the picker on another container, for example directly in the List, so it seems to be a problem with the toolbar itself. Here is my code: struct ExampleView: View { //this is a enum that conforms Equatable, Hashable, CaseIterable     @State private var sort: MediaListSort = .updatedTimeDesc     var body: some View {         List { //...         }         .toolbar {             ToolbarItem {                 Picker("Sort", selection: $sort) {                     Text("Title").tag(MediaListSort.mediaTitleNativeDesc)                     Text("Score").tag(MediaListSort.scoreDesc)                     Text("Last Updated").tag(MediaListSort.updatedTimeDesc)                     Text("Last Added").tag(MediaListSort.addedTimeDesc)                 }             }         }     } } Behaviour: I am currently using the latest Xcode 14 beta 04, so I am not sure if this issue is related to that.
Replies
5
Boosts
1
Views
2.9k
Activity
Aug ’22
What's New Xcode Server, no longer supported? Why?
Our team always use Xcode Server, we love this tool with Xcode IDE. At this Xcode 14 beta 4, "Xcode Server is no longer supported. (73888675)" Why do this for us? Need we move to Xcode Cloud? How to figure out private CocoaPods? We have may lib 200+, how to move to Cloud? Please keep update Xcode Server, or Open Source it, how to integration with Xcode IDE, we love this feature. By the way, for Xcode Server new feature need update. The execution of multi-tasking(Xcode Bots) ensures that the machine will not hangs. Update couthDB and couthJS with M1.
Replies
0
Boosts
1
Views
1.6k
Activity
Aug ’22