bst365体育投注网址大全

Questions tagged [swift]

bst365体育投注网址大全 Swift is a safe, fast, and expressive general-purpose programming language developed by Apple Inc. for its platforms and Linux. Swift is open-source. Use the tag only for questions about language features, or requiring code in Swift. Use the tags [ios], [ipados], [macos], [watch-os], [tvos], [cocoa-touch], and [cocoa] for (language-agnostic) questions about the platforms or frameworks.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

UICollectionViewCell could not dequeue a view of kind : UICollectionElementKindCell with identifier

I am following Duc Tran's Tutorial on a collection (https://www.youtube.com/watch?v=vB-HKnhOgl8) and when I am running my application, I keep getting this error: Thread 1: Exception: "could not ...
0
votes
0answers
5 views

What happens if I send an particular API request concurrently multiple times using static Alamofire object in Swift with different parameters

I want to do an integration-test for my login API. So I write 3 test cases with different parameters and call the API. And I create static Alamofire Session Manager instance. Problem is, for all ...
1
vote
0answers
7 views

Swift Compiler Error - Argument passed to call that takes no arguments

I'm trying to follow the swift tutorial on Youtube. https://www.youtube.com/watch?v=-BZdQmHV4MQ&t=471s But I'm getting this warning sign and I have no idea how I could solve it. This is my code. ...
1
vote
0answers
6 views

save data in array coming from 2 different uitableviews in ios swift

Recently i am facing an issue in saving data of Uitableview inside Uitableview cell in ios swift Senario Questions asked in above pictures is one table view and this table view cell contain 1 label ...
-1
votes
0answers
5 views

Fail to validate app when archiving app for submission to the App Store

My app use the framework: https://github.com/ss-abramchuk/OpenVPNAdapter (install by Carthage) When I am doing the validate app after archiving, it gives me the following error, I don't know why? App ...
0
votes
0answers
7 views

Swift 5 How to use Lottie Animation using storyboard

I'm using the latest version of Xcode. I have a JSON file whose name is "rainynight". I want to display it into 'View' component using storyboard. Below is the code I wrote on my ...
-1
votes
0answers
6 views

Detect if app is running on a macOS beta version

I would like to be able to somehow detect if my app is running on a beta version of macOS 11, as there are some known bugs I want to inform users about. I only want to show such an alert to macOS 11 ...
0
votes
1answer
10 views

Vapor 4 - Create a route that lists all available routes

I want to create a route on 127.0.0.1:8080/help/routes, that lists all available routes (like a help page). How can I accomplish this? Thanks
-2
votes
1answer
16 views

Is it possible to create a button like Apple's Assistive Touch in SwiftUI that always stays on top of all other views?

I was wondering if it's possible to create a button like assistive touch and implement it in your own app (A button/View that always stays on top of everything and doesn't get affected by anything ...
-1
votes
1answer
23 views

No exact matches in call to instance method 'tableView

I'm simply trying to test a tableview cell selection. I have tried using tableView.selectRow(at:, animated:, scrollPosition:) but the delegate callback is never called. I am then trying to call the ...
1
vote
0answers
23 views

FileManager.fileExists (is item at path a file or directory) not working for me

Can someone please point out my mistake? I'm attempting to dig recursively through a directory to just get an array of the files within. The code I've posted seem to regard every item it sees as a ...
-1
votes
1answer
22 views

Swift, is it possible to use SF Symbols in Navigation Bar title?

Wondering how I can use SF Symbols as View Controller title. Is it possible to do so? viewController.title = [somehow want to use an SF Symbol here]
-1
votes
1answer
15 views

Top Bar occupies invisible space, leaves empty space in viewcontroller xcode storyboard

I've recently updated my XCode to the latest version and I came across an unknown bug like, I'm unable to understand what could be the reason behind this bug. Before updating the XCode all the layouts ...
-1
votes
0answers
25 views

super.init(coder: coder) makes breakpoint error in Swift

I am following "Start Developing iOS Apps(Swift)" on apple website Now, I am on the process of adding rating system. I just followed what is written on the website. However, There's an error ...
0
votes
1answer
21 views

Making an api request using URLSession.shared.dataTask

I'm making an api request: var urlRaw = bookSummaryReadsDomainUrl + apiKey; let url = URL(string: urlRaw.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!) let task = URLSession.shared....

15 30 50 per page
1
2 3 4 5
18092