Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Swift

0 votes
631 views
1 answer
    Is there a way to choose file from iCloud Drive similar way to UIImagePickerController()? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
672 views
1 answer
    Yesterday I installed the official Xcode 7 and when I tried to open one of my Swift projects, appeared an ... s okay, no compilation errors. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
962 views
1 answer
    I tried to configure the button in the contextMenu, but it's not working. Text("A label that have context menu") ... { action in // remove it } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Is it possible to add timeout handler for Alamofire request? In my project I use Alamofire this way: init() ... =The request timed out.} See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
779 views
1 answer
    I'm trying to recreate an UI I built with UIKit in SwiftUI but I'm running into some minor issues. I want the ... the area I'm looking for } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
844 views
1 answer
    I searched for getting the EXIF data from picture files and write them back for Swift. But I only could find ... how can I write it back? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
945 views
1 answer
    Task I would like to capture a real-world texture and apply it to a 3D mesh produced with a help of ... texture for a reconstructed 3D mesh? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
503 views
1 answer
    Both this declaration protocol SomeProtocol : AnyObject { } and this declaration protocol SomeProtocol : class { } seem to ... Xcode 6.3.1. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
450 views
1 answer
    In ARKit, I have found 2 ways of inserting a node after the hitTest Insert an ARAnchor then create the node in ... why one way or the other? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
799 views
1 answer
    I was playing around with SwiftUI and want to be able to come back to the previous view when tapping a button, the same ... back to A") } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
662 views
1 answer
    I have a simple TabView: TabView { NavigationView { VStack { NavigationLink(destination: Text("Detail")) { Text("Go ... do I work around this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
842 views
1 answer
    I couldn't find any reference about any ways to make a pop or a dismiss programmatically of my presented view with ... it will stays like this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
658 views
1 answer
    I've read the other posts on segues but none solve my question. Simply put, my ViewControllers are ordered, ... an IBAction for my back-swipe See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
701 views
1 answer
    Is is possible to build views with SwiftUI side by side with an existing UIKit application? I have an ... .xib Working alongside each other See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
561 views
1 answer
    Having used the AlamoFire framework I've noticed that the completionHandler is run on the main thread. Im wondering if ... ); } }); } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
467 views
1 answer
    In Swift 2.0, Apple introduced a new way to handle errors (do-try-catch). And few days ago in Beta 6 an ... 3 keywords, and when to use each? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
916 views
1 answer
    The WKWebView is not loading links. I am linking users to a privacy policy page, and the ... decisionHandler(WKNavigationResponsePolicy.allow) } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
463 views
1 answer
    func mapEachElement (inArray arr: [Int], withFunc aFunc: (Int)) Why would there be "inArray and then "arr"... ... read, why are they even used? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
491 views
1 answer
    I was reading through another SO question, Swift do-try-catch syntax. In his answer, rickster creates an ... else will be accessing it? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
628 views
1 answer
    I am working on NEHotspotHelper and trying to register but not receiving call back. Firstly, I enabled Capability : ... I am missing any step. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
753 views
1 answer
    I'm working in Swift with Sprite-Kit using XCode 6, and I have many different nodes but for the moment I ... the node touched by the finger ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
599 views
1 answer
    I would like to round a Double to the closest multiple of 10. For example if the number is 8.0 then round to 10. ... to 0. How can I do that? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
616 views
1 answer
    I had a project with both Carthage and Cocoapods. They both have one common dependency (PureLayout, to be precise) ... 's or Cocoapods' one? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
656 views
1 answer
    How do I avoid using the ! operation doing a force unwrap as using this is usually a bad option. What is the ... , we're going to fight" O_O See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.3k views
1 answer
    Is there a way to iterate through a Dictionary in a ForEach loop? Xcode says Generic struct 'ForEach ... to RandomAccessCollection or something? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
639 views
1 answer
    Environment Xcode 11.2.1 (11B500) Problem In order to implement editable teble with TextField on SwiftUI, I ... Foreach and TextField. Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
484 views
1 answer
    I started developing an app for iOS in Swift. Now I am at the part where I need to create a login system. ... I have no clue how this works. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
936 views
1 answer
    Similar to this thread: How to convert a UIView to an image. I would like to convert a SwiftUI View rather than a UIView to an image. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...