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
650 views
1 answer
    I'm implementing a very custom NavigationLink called MenuItem and would like to reuse it across the project. It's ... as an argument. Thanks ;D See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
778 views
1 answer
    I'm a bit confused. What's the difference between protocol A : class { ... } and protocol A{ ... }, ... ' cannot be applied to non-class type See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
557 views
1 answer
    I'm using Swift 2 and using WeakContainer as a way to store a set of weak objects, much like NSHashTable. ... . How to get around this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
954 views
1 answer
    I have a working scenario using Postman passing in URL parameters. Now when I try to do it via ... URLEncoding.default, headers: headers See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    I have defined a let property within my SceneDelegate. I would like some of the ViewControllers to be able ... the UIViewController's instance? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
798 views
1 answer
    I am getting following error with self signed certificate Error Domain=NSURLErrorDomain Code=-1200 "An SSL error ... working after huge efforts? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
590 views
1 answer
    I want to place a search bar in the new navigation bar with the new iOS 11 large titles. However, the ... from StackOverflow - doesn't work) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
660 views
1 answer
    I've got a UIAlertController which is prompted to the user when they choose "Enter Password" on the TouchID screen. ... and some new API stuff. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
654 views
1 answer
    I've got a basic view with a button using SwiftUI and I'm trying to present a new screen/view when the ... fontWeight(.ultraLight) } } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I need to make an app that records heart rate data in near real time and send this data to a server as ... iPhone. That seems to be impossible See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
670 views
1 answer
    Below is my code I am getting the issue with: func parseFeedForRequest(request: NSURLRequest, callback: (feed: RSSFeed?, ... don't know how to. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
655 views
1 answer
    In a normal UIViewController in Swift, I use this code to send a mail. let mailComposeViewController ... to use UIViewControllerRepresentable? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
614 views
1 answer
    I'm trying to use Károly L?rentey's B-tree based OrderedSet in a project. However, I'm running into an ... BTree type and the BTree module? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
879 views
1 answer
    Since beta 8.3, zillions warnings "String interpolation produces a debug description for an optional value; did you ... wait for the next beta? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
592 views
1 answer
    Are the two approaches the same or are there major differences/pitfalls to be aware of: class MyClassSingleton { ... struct Singleton") } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
868 views
1 answer
    I was wondering how to set the radius/blur factor of iOS new UIBlurEffectStyle.Light? I could not find ... = frame addSubview(effectView) } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have issue with following code: func generic1<T>(name : String){ } func generic2<T>(name : String){ generic1< ... should be (String) -> Void See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
976 views
1 answer
    I am sure this is not that difficult, but I am having trouble finding info on how to dismiss a keyboard with the ... (true); return true; } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I'm creating an iOS app that I intend to display realistic/high-quality renders within AR. Whilst ... High-Quality Model Rendering? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    So I'm wanting to add a "subtitle" under the title in the navigation bar in navigation controller. Mostly ... , swift is preferred. Thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
889 views
1 answer
    In Swift, I am trying to create an array of 64 SKSpriteNode. I want first to initialize it empty, then ... the element directly by their index. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
636 views
1 answer
    I am just starting to take a look at Mattt's wonderful new Alamofire swift networking library and am ... , forHTTPHeaderField:"Authorization") See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
480 views
1 answer
    I have label and data from Firebase. I need to get the data, count it and update Label. But I have problem. ... slow. I do it all in viewDidLoad See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
448 views
1 answer
    UIKit/Programmatic UI I have an UIScrollView with an UIImageView inside. The image is set by user selection and can ... set this up correctly ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
623 views
1 answer
    I want to make item and font sizes looking same as screen sizes. I used to use item ratio for scaling to ... and font for different iOS devices? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
591 views
1 answer
    Consider this code: extension Collection { func foo() -> Int { if self.first is Collection { return (self.first ... it does not in line ERROR? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
681 views
1 answer
    I'm printing out a number whose value I don't know. In most cases the number is whole or has a ... ", number) } return formattedNumber } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
926 views
1 answer
    As Apple said in "The Swift Programming Language", it seems we should prefer unowned than weak whenever possible: ... of unowned all the time? 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

...