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
781 views
1 answer
    I am having trouble creating an outlet collection in Xcode 6. Outlet collections in Xcode 6 now function as ... my view controller swift file? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
523 views
1 answer
    I'm currently watching the SwiftUI Essentials video from WWDC 2019 and the presenter pulled up the actual API ... development overall. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
782 views
1 answer
    I'm using SwiftUI's new app lifecycle coming in iOS 14. However, I'm stuck at how to access my AppState ( ... to use the old UIKit lifecycle? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
702 views
1 answer
    I've implemented previous suggestions with Swift (How to use CVPixelBufferPool in conjunction with ... ) } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
618 views
1 answer
    i want to add a class for my entity by EditorCreate NSManagedObject Subclass... menu . but when i added it , ... develope it with xcode 10 now See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    I'm trying to get data by encode model which conforms to Encodable protocol. But it's failed to invoke func ... .test() } logItem(dataSource1!) 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 convert values of type '[String : AnyObject]?'to expected argument type '[NSAttributedStringKey : ... ) NSUIGraphicsPopContext() } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
645 views
1 answer
    Since updating to Xcode Beta 6 earlier today my application will no longer build, it was working fine in Beta 5 and ... ) in Text(job.jobName) } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
714 views
1 answer
    I'm building an app that should allow user to apply audio filters to a recorded audio, such as Reverb, ... any suggestions for further research. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
718 views
1 answer
    I have an Array of numbers and I want to know which number is most frequent in this array. The array ... integer in an array of integers? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
701 views
1 answer
    I'm trying to create an array of tuples in Swift, but having great difficulty: var fun: (num1: Int, num2: Int)[] = ... var foo: Int[] = Int[]() 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 trying to convert a view of my watchOS App to Swift UI. I wanted to port the volume control that can be ... :)) Here's the current view: 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 working with SwiftUI, and I have some issues with the TabBar. I want to hide the TabBar on a specific ... a solution for this? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
671 views
1 answer
    I'm trying to create a spinable node similar to the "prize wheel" in this question. So far I ... mostRecentTouchLocation = CGPointZero } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
691 views
1 answer
    Can someone explain why @objc keyword is needed here to compile the code? As I understood this keyword is used in ... well as dynamic? Or not? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
940 views
1 answer
    I am having a hard time to migrate library Charts (from Daniel Gindi) from version 2 (Swift 2.3) to 3 ( ... is not good. Thanks for your help See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
712 views
1 answer
    I used this code to achieve Tap-to-Focus in iOS custom camera App, but it isn't working. Here's the ... device.unlockForConfiguration() } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I have set up a TabView in my application, so that I can swipe horizontally between multiple pages, but I also have ... : .never)) } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
745 views
1 answer
    I have a scene setup with SCNCamera that rotates around an object. What would be the best way to limit the extents ... = heightRatio % 1 } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
904 views
1 answer
    I have an array of objects with property date. What I want is to create array of arrays where each array will ... objects with the same date ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
942 views
1 answer
    I am trying to make a ObservableObject that has properties that wrap a UserDefaults variable. In order to ... to achieve @Published behaviour? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Hi i'm trying to load an html that is in the main Bundle with WKWebView this worked perfectly with ... ) self.view.addSubview(vistaweb) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
711 views
1 answer
    So I have a postDict as [String: AnyObject] and I have a model class Post. Is there a quick way to ... the output when printing out postDict: See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
808 views
1 answer
    In Swift I can declare a constant of type Any and put a String into it. let any: Any = "hello world" Good. On ... Playground 7.2 + Swift 2.1.1 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    I want this protocol: protocol AddsMoreCommands { /* ... */ } only to be adopted by classes that inherit from the ... a way to do this? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
932 views
1 answer
    I'm in the process of learning both ARKit and Scenekit concurrently, and it's been a bit of a challenge. With ... them) Thanks for any help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I'm curious is there is anyway to call a method inside your init method that sets instance properties of the class ... .init(frame : frame) } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    Alright, so just to start off, heres my code: import UIKit import ForecastIO class Weather { var temp: Float ... 'm doing this entirely wrong? 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

...