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.0k views
1 answer
    I have: private var wrappedObjects: [WrapperClass]? var objects: [SomeClass]? { didSet { self.wrappedObjects ... array [SomeClass] respectively? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am using a .playground file and I can't seem to add my CoreML model to it. I drag it into the ... Inceptionv3 Can someone please help me out? 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 UIBarButtonItem in the right side of my navigation that has an image of a gear and ... rightBarButtonItem = settingsBarButton } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Hello I have a problem with my Swift code. In my application some SKLabelNodes are supposed to have their y ... solve it? Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
978 views
1 answer
    I am making an app where I take in user input and display it as a chart, which requires an array of data. ... but that didn't work out. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
936 views
1 answer
    I am looking to get the translucency and color of the iOS 10 watch navigation bar. I managed the color by color ... provide the code if you can. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    So I am trying to call backend api to get an object of type horse, I get the object in data but when I ... task.resume() print("finished") } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am running an application and in the AppDelegate class I am getting the error Thread 1: signal SIGABRT on ... have an iOS developer program? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I hope I can explain my question clearly. I want to select some courses from list via toggle but whatever I've ... : String var notify: String } 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 getting data from the FatSecret API. In a nutshell, I have several food IDs I need to get data from, ... // RUN COMPLETION CODE } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I've read several offered solutions for different versions of Swift. What I cannot see is how to ... (UIResponderStandardEditActions.copy) } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    When using let directoryEnumerator = FileManager().enumerator(at: ... in Swift 3, I get all files ... function manipulating by assumptions. 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 trying to detect a Rectangle using CIDetector. I am using code from this: https://www.cocoacontrols.com ... Rectangle? Please suggest me. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I try to write code which changes property of file, but I get a compiler error. Here is the code: func ... Bool' How can I fix it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    When I am using print on right toolbar there is text with on the end. There is not new line for me. What ... side result like this "hello " 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 to get football game schedule via JSON and extract date of each game of one of the specific ... appropriate url at SCHOOL URL. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    GOAL: I'm trying to make a general struct that can take an array of Ints and go through and set a timer for ... is happening or why it's wrong. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    How to disable a constraint programmatically? I have two constraints, that the priority of one depends for the other. As far ... = true } } ... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have a MainViewController embed in a Navigation Controller, as shown below: And in MainViewController.swift, I added ... am using Xcode 9.3. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I use a FetchRequest to fill the elements. Then I'm using a list and want to display some kind of todo elements ... var checked: Bool .... } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I know that we can create a List in vertical SwiftUI like this, struct ContentView : View { var body: ... grid like we did in UICollectionView See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Is there a way to write this if/else if/else ladder as a switch statement? let x: Any = "123" if let s ... a name, all in one switch statement? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    Hi I am getting a little bit confused here with Firebase User UID and Firestore Document ID (userId???)... and ... do I get it completely wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
877 views
1 answer
    Background: I designed a TableViewDataSource class that provides an implementation for UITableViewDataSource and ... pure 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'd like to be able to inflate/deflate Swift3 Data structs. I found GzipSwift, but it's not clear how I ... seems dated and relative to Swift2. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
978 views
1 answer
    The Swift GeneratorType reference says about the next method: next() Advance to the next element and return it, or ... the end in this case? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    In a project I have a ScrollView surrounding a VStack of items which each have a button to trigger the Activity View via the ... ) } } // } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
972 views
1 answer
    I need to implement a WatchKit force-touch MenuItem to call a saveWorkout() method that is located in a separate class that ... } // ...code... 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

...