Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged swiftui

0 votes
248 views
1 answer
    As a part of my learning SwiftUI project I do some shape rotations and I have code below. I'm wondering how to avoid of same three lines of modifiers for ... degrees: Double(i) * Double(angleStep)))) } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
252 views
1 answer
    i just read in stackoverflow i can only concatenate animation with delay, so i tried this here which simply shrinks and then scales the circle again. ... circle.fill") .scaleEffect(scaleImage) } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
157 views
1 answer
    The new SwiftUI tutorial has the following code: struct ContentView: View { var body: some View { Text("Hello World") } } The second line the word some, and ... a way I didn't know about? What does the keyword some do? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
196 views
1 answer
    Is there a way to add animations to transitions between custom NavigationItems made from AnyView as described in this article? I like everything about this ... .removeAll() } } struct NavigationItem{ var view: AnyView } Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
384 views
1 answer
    I'm using LazyVGrid to display a calendar month and would like to have the Sat and Sun -columns have a different background color. LazyVGrid(columns: ... /questions/65843896/how-can-you-set-the-background-color-of-a-column-in-lazyvgrid...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
263 views
1 answer
    I have a navigation title for a list view. After navigating back and forth, my navigation title is missing. I am new to swiftui and unable to ... } } } } question from:https://stackoverflow.com/questions/65843937/navigation-title-issue...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
492 views
1 answer
    I'm currently working on a swiftUI project where I'm supposed to be able to interact with the content of a scrollView. The problem is that I ... from:https://stackoverflow.com/questions/65844048/disable-the-scrolling-but-not-the-content...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
233 views
1 answer
    I'm struggling with what I thought would be a pretty simple problem to solve. See below... I have a class - "Connect" - This is ... from:https://stackoverflow.com/questions/65845314/view-does-not-reload-when-observed-object-changed...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
307 views
1 answer
    I have a Section that runs a ForEach to return header: and then another view returns a fetchRequest for the Content. The problem is the content ... //stackoverflow.com/questions/65854047/why-wont-section-frame-resize-to-show-list-content...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    I have a button in a view (inside a NavigationView) that opens a full screen cover - a loading screen while some data is ... https://stackoverflow.com/questions/65860539/navigationlink-doesnt-fire-after-fullscreencover-is-dismissed...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
212 views
1 answer
    Using the new (iOS 14) DatePicker in SwiftUI, it works as expected and looks fine in the simulator & on the device, BUT as soon as the ... .com/questions/65861895/fix-hundreds-of-lines-of-warnings-re-layout-constraints-from-datepicker...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
218 views
1 answer
    I create widget with temperature from my site. In standart program all work, but in Widget on result i see "0" (info from var) Here code ... question from:https://stackoverflow.com/questions/65866198/why-dont-work-urlsession-in-swift-widget...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
223 views
1 answer
    I have tried to include TabView in my SwiftUI, after inclusion, I found that the bottom of the other UIView is being covered. I have tried to ... bottom)? question from:https://stackoverflow.com/questions/65868953/uiview-hidden-by-tabview...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
214 views
1 answer
    I've tried to recreate this problem and just present a nice little code snippet you guys can see and analyze, but I cannot recreate this problem ... /stackoverflow.com/questions/65874238/view-that-works-in-iphone-does-not-work-in-ipad...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
373 views
1 answer
    I'm currently working with POST requests and I'm trying to POST data to postman. The data is being sent, but after I press the "send" ... question from:https://stackoverflow.com/questions/65874554/untap-button-after-sending-a-post-request...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
159 views
1 answer
    I have two vertical stacks. The first one contains the Image and the second contains the TextField. I'm playing around with keyboard ... ://stackoverflow.com/questions/65875158/dynamically-scaling-image-depending-on-remaining-space...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
322 views
1 answer
    For each element in my database I want to display a navigation link. The destination and the label of each element should get the same object ... https://stackoverflow.com/questions/65884619/how-to-pass-same-object-to-multiple-subviews...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
232 views
1 answer
    var manager: CBCentralManager! var peripheral: CBPeripheral! var readCharacteristic: CBCharacteristic? var writeCharacteristic: CBCharacteristic? var notifyCharacteristic: CBCharacteristic? ... -an-int38-i-receive-38-but-if-i-send-int...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
263 views
1 answer
    The attached program doesn't change the QR code in the QRView when the user changes the url in the TextField, yet the Text view below the ... question from:https://stackoverflow.com/questions/65904478/state-change-only-updates-some-views...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
315 views
1 answer
    Is there a way to make a @Published variable that only publishes its value when the new value is different from the old one? Right now if ... /questions/65905731/does-combine-have-publishers-that-only-publish-when-a-value-actually-changes...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
443 views
1 answer
    I created a simple showcase where my problem can be reproduced; what I'm doing is navigating from the initial view => View1 ... stackoverflow.com/questions/65914281/programmatic-navigation-with-navigationview-navigationlink-delay-jumps-back...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
176 views
1 answer
    following this guide "Stanford university" I implemented a model(struct) named MemoryGame with a second struct inside named card ( implementing ... 65916694/swift-ui-observedobject-not-working-found-weird-behaviour-when-implementing-an...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
651 views
1 answer
    I have two datepickers, but the font color is white even I set it to be black. Makes them hard to read. DatePicker(selection: $fromDate. ... question from:https://stackoverflow.com/questions/65921812/cant-change-the-datepicker-font-color...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
287 views
1 answer
    I have a Navigation view and I created a button to go back to the previous view, after I clicked on it several times, it displayed a nested ... question from:https://stackoverflow.com/questions/65922967/how-to-remove-nested-navigation-bars...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
181 views
1 answer
    I have a code that makes a http Request, gets an array with filenames from that, displays them each with an image and the filename below. ... question from:https://stackoverflow.com/questions/65927496/display-filename-in-next-view-too...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
328 views
1 answer
    I'm trying to figure out how to programatically control the default behaviour that happens when you scroll up on a Navigation View's Child ... from:https://stackoverflow.com/questions/65928402/swift-control-navigation-bar-displaymode...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
288 views
1 answer
    I'm starting to play with custom containers and I'm stuck trying to send the @State var across. Sample code: struct ZoomCardView<Content: View>: View { let ... /how-do-i-pass-a-state-binding-to-the-content-closure-of-a-custom-container...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
313 views
1 answer
    I'm trying to generate random string every 10 seconds. I put this function in a class in another file and will call the function in another ... question from:https://stackoverflow.com/questions/65903738/swift-return-value-every-x-seconds...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...