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
1.2k views
1 answer
    Can you use a NavigationLink as a Menu's item in swiftUI? It seems to do just nothing: Menu { ... of achiving the intended reult? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a Navigation Controller and a Collection View under it inside my app. And there is a problem: I use ... I make the navigation bar bigger? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to write a method where a data object (Realm) refreshes it's properties using Alamofire. But I can't ... set up unit tests for this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
851 views
1 answer
    I'm trying to modify the metadata contained in a JPEG image. It can be any of the metadata in the image, in my example ... 07:31 17:42:01"; }; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
878 views
1 answer
    I'm currently building an app with a modal view popping up that contains a WkWebView. When I want ... UIStatusBarStyle.LightContent } } Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I'm facing a problem with 'Textview' type field. I am unable to enter text in FeedbackTextView field. let ... has keyboard focus. Element: See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
913 views
1 answer
    There are three ways to implement generics: Just a tool for compile time checks, but every template instance is ... one is implemented in Swift? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
768 views
1 answer
    I'm working on a macOS desktop app in Swift 4. It has a WKWebView which loads up a web page that sends ... . Any idea how to achieve this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
903 views
1 answer
    I am trying to run a function in certain ViewController using AppDelegate func applicationDidBecomeActive(_ application: ... I missed? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
685 views
1 answer
    I have 3 screens, lets say, Login Forgot Password Help screen By default the Login screen open when the app starts ... to open a View directly. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
723 views
1 answer
    I am trying to figure out how to define a function which takes the following two parameters: A protocol. ... I missing something simple/obvious? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
955 views
1 answer
    Trying to call dispatch_time in Swift is doing my head in, here's why: dispatch_after(dispatch_time( ... dispatch_time in swift? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I am using a ListView in Mac OS. I am trying to change that background color of that ListView. However, it is ... for Mac OS. Thanks in advance See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
941 views
1 answer
    I recently started looking into SwiftUI and have run through a few tutorials which recommend swapping views based on state ... Content") } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
770 views
1 answer
    I have some text on the screen: Text("someText1") is it possible to highlight/select part of the text without ... of lot of views I mean) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
705 views
1 answer
    I am trying to draw a circular shaped gradient. let backgroundView:UIView = UIView() let backgroundLayer:CAShapeLayer ... ? Thank you, MG See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    TLDR: How to remove the swipe/pan gesture recognizer for UISegmentedControl on iOS 13? Hi, on iOS 13, lots ... know if the problem is unclear See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
951 views
1 answer
    The app is being crashed when trying to hide the navigation bar for a viewcontroller only for iOS 13 ... super.viewWillDisappear(animated) } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
964 views
1 answer
    I am building a chat app and for performance reasons I need to use UILabel's instead of UITextView's ... are not being automatically detected. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Why doesn't this code work? func function (param1 : Int, param2 : Int) -> Int { return $0 + $1 ... closure argument not contained in a closure See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    Can anyone explain what is difference between UnsafeRawPointer.assumimgMemoryBound(to:) and UnsafeRawPointer.bindMemory(to: ... :) completes? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have found the answer for this for objective-c but Im having a hard time doing this in swift. I have used ... "US" to "United States"? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
943 views
1 answer
    I'm receiving a message in the log saying 'bundleNamePlaceholder'[8424:100146] [general] 'NSKeyedUnarchiveFromData' ... what might cause it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
673 views
1 answer
    I am trying to draw a circular shaped gradient. let backgroundView:UIView = UIView() let backgroundLayer:CAShapeLayer ... ? Thank you, MG See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
949 views
1 answer
    TLDR: How to remove the swipe/pan gesture recognizer for UISegmentedControl on iOS 13? Hi, on iOS 13, lots ... know if the problem is unclear See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    The app is being crashed when trying to hide the navigation bar for a viewcontroller only for iOS 13 ... super.viewWillDisappear(animated) } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I am building a chat app and for performance reasons I need to use UILabel's instead of UITextView's ... are not being automatically detected. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    Why doesn't this code work? func function (param1 : Int, param2 : Int) -> Int { return $0 + $1 ... closure argument not contained in a closure See Question&Answers more detail:os...
asked Oct 24, 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

...