I have a SwiftUI project, since long time I try to customize my project toolbar in SwiftUI, but SwiftUI 2.0 not support it. When new version of SwiftUI will release? Any idea?
Search results for
swiftui
16,582 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I need a loop in the SwiftUI and the number of loop is based on a condition so I don't think I can use the forEach loop. I wonder if it's possible to use a while loop in SwiftUI or is there an equivalent?
In Platforms State of the Union, there was a reference to Custom Gestures in SwiftUI, among new features. I didn't see anything about it in What's New with SwiftUI. Did I miss it? Anyone have more info?
Hey, Loving these new API’s, and would love to integrate in my app. I could only see UIKit support within the video - is there any SwiftUI support out of the box? Cheers!
Hi, the video was great and on point, but it only featured UIKit apis. 3 years into the SwiftUI transition, I wonder if this is a UIKit only feature or can we also use it if we chose SwiftUI to build our apps ? Thanks
What is different between UIkit and Swiftui
I’m looking for advice re integration of UITableView into SwiftUI. I’m doing that because I want control of the table background and row swipe functionality, which I believe is still not available with List in SwiftUI. I’ve watched WWDC19 tutorial on UIKit Integration, and Rana talks about using the target action pattern, but I can’t work out how that would be done with a TableView. Specifically: I have the UITableView wrapped properly, using a coordinator, and displaying within SwiftUI. But when a row is deleted, I am struggling with how to pass back the deleted row’s indexPath , and how to delete the relevant data within the source array in SwiftUI. Any help much appreciated!
Is it just me, or does anybody else feel like SwiftUI is a new language built by an engineer who didn't realize there are storyboards or how to use storyboards? I am watching these videos about how magical it is to use SwiftUI, then watching an engineer type in code to draw views and cells... Magical in what way? that he is able to recall from memory the code to type in? I kept thinking, but... but... I can just drag in a view in a storyboard, move it around play with it there as a graphical interface... which actually is magical, I can drag a table view in, and a cell view in and actually stretch it and move it to what I want... drag an image in or a thumbnail view in and size it graphically, where this engineer decided going to menus to find aspect ratios that suspiciously look like what a Storyboards menu views look like. so why didn't another set of engineers also create the preview and tying data structures to storyboards? then call it meta magical now we have an entire new set of langu
I noticed that SwiftUI does a great job of importing standard behaviors pushes and swipes. This is great. How would you change the details like the disclosure arrow? or the shading color of the highlighted cell in the swipe-back? (see 10:40 in the video)
Hello. I've used SwiftUI to create some custom UI, some of which is not resizable so I wanted to use showsLargeContentViewer=true as you can with any UIKit view. Is there a way to do this with SwiftUI views? If there is I haven't found it. Thanks
Hi, I'm very grateful to apple engineers for the tools their provide and huge amount of work they've done so the community can have swiftUI with all its amazing features. I'd like to clarify future development direction of the framework and why bound to iOS version is required. SwiftUI was announced with a few elements and still is not ready to build complex app. Everyone is looking forward to start using swiftUI in production development as fast as it possible. Generally everyone supports 2-3 iOS versions, like iOS 11-13 currently. If you add let's say SearchBar view to the framework next year it will be part of iOS 15, so developers will be able to use it once support of iOS 14 will be dropped and we will step to the age of supporting iOS 15-17, what's is 4 years from now. And obviously not all elements will be covered, setup and ready by next year. So, how many years we have to wait and why? Can't everything be available starting from iOS 13 when the framework was introduced firs
Is SwiftUI 2.0 backwards compatible with iOS 13?
I just want to clarify that can we use SwiftUI in our playgrounds?
How do I rotate the SwiftUI Preview to show my view in landscape?
I'm getting this segfault stack trace from TestFlight. Any idea about how I should approach it? Thread 0 Crashed: 0 SwiftUI 0x000000018dd18e14 specialized static Array.== infix(_:_:) + 0 (:0) 1 SwiftUI 0x000000018e2ab404 static StrokeStyle.== infix(_:_:) + 100 (:0) 2 SwiftUI 0x000000018e2ab468 protocol witness for static Equatable.== infix(_:_:) in conformance StrokeStyle + 60 (:0) 3 AttributeGraph 0x00000001b0e4feec AGDispatchEquatable + 24 (Misc.swift:160) 4 AttributeGraph 0x00000001b0e4fd68 AG::LayoutDescriptor::Compare::operator()(unsigned char const*, unsigned char const*, unsigned char const*, unsigned long, unsigned int) + 1632 (ag-value.cc:579) 5 AttributeGraph 0x00000001b0e4f674 AG::LayoutDescriptor::compare(unsigned char const*, unsigned char const*, unsigned char const*, unsigned long, unsigned int) + 96 (ag-value.cc:723) 6 AttributeGraph 0x00000001b0e4efb0 AGGraphSetOutputValue + 268 (AGGraph.mm:784) 7 SwiftUI 0x000000018e8c1eb4 closure #1 in StatefulRule.value.