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
773 views
1 answer
    Is it possible to copy text/image to UIPasteboard in a keyboard extension? Similar to what popkey.co does ... from a keyboard extension? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
612 views
1 answer
    I'm seeing very inconsistent frame rates in the SceneKit starter project. Sometimes it runs constantly at 60 fps ... stores in the second part. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
614 views
1 answer
    I need to be able to use Firebase in my Today View Extension, however I cannot seem to import the Firebase module. ... how to do this. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
819 views
1 answer
    I want to create an animation like the iOS app facebook at tabswitch[1]. I have already tried to develop some kind of ... in the fb app in iOS. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    In SwiftUI, does anyone know where are the control events such as scrollViewDidScroll to detect when a user reaches ... is not there either... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm developing simple web browser with WKWebview. I can detect when url changed at SPA like trello with custom ... page url to local store. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
964 views
1 answer
    I know SwiftUI uses state-driven rendering. So I was assuming, when I delete Core Data Entity entries, that ... . Maybe someone can help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
763 views
1 answer
    I'm building an app with Firebase Real-Time Database. The app will be mainly offline at first, but we ... find any documentation about this. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
576 views
1 answer
    What's the difference between these two methods of declaring a generics superclass with or without the 'where' clause ... <T> where T: SomeClass 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 using NSOutputStream's write method func write(_ buffer: UnsafePointer<UInt8>, maxLength length: Int) -> Int I ... I do this in swift? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
840 views
1 answer
    I want to have two unique alerts attached to the same Button view. When I use the code below, only the alert ... but the first one does nothing. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
903 views
1 answer
    I am working on an application and I just upgraded to Xcode 9 / Swift 4 and also upgraded my iPhone ... unfortunately. Any ideas / suggestions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
822 views
1 answer
    I am working on a piece of Swift code for iOS 8. I am trying to do something which involves location, and ... on my console. Any help? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
969 views
1 answer
    I'm attempting to create a macOS application without a storyboard in Xcode 8 (stable) on macOS Sierra. ... help would be much appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
868 views
1 answer
    I am reading the Swift tour document, and facing a problem. Here is the code: enum SimpleEnum { case big(String) ... value of an enum, and how? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
841 views
1 answer
    If I have a SwiftUI Color: let col: Color = Color(red: 0.5, green: 0.5, blue: 0.5) How do I get ... doesn't seem to be an equivalent in SwiftUI. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
878 views
1 answer
    I want to know if there's a way to use iOS speech recognition in offline mode. According to the documentation ... didn't see anything about it. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
711 views
1 answer
    When i am using simulator of iphone 5s such error is appears during mail sending and perfectly runs in ... =Service Connection Interrupted}' See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
731 views
1 answer
    This was done in Playground, just to simplify. class MyPrivateVar { private var priv: String? } var myInstance = ... . Am I missing something? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
963 views
1 answer
    I am working with swift and firebase. Previously I was using following method to get firebase token which then I ... . Thank you in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
763 views
1 answer
    I can't seem to find any Apple Documentation for this exact scenario, and I've tried various ways to do ... . Any insight would be appreciated! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
760 views
1 answer
    I am using AlamofireImage in my project quite a lot and I use let URL = NSURL(string: "https://cdn.domain. ... the folder directly on the CDN. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
748 views
1 answer
    I am making a Mac app (in Swift 3 using Xcode 8, Beta 5) with which the user can make a long note and ... is exporting the PDF or right after? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
687 views
1 answer
    Is it possible to check if a variable is an optional, and what type is it wrapping? It is possible to ... .optionalType // returns String.Type See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
864 views
1 answer
    I've created an UICollectionView that works fine on small devices like iPhone 5s/SE/6/6s/7 on both simulator and ... ideas why it's crashing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
673 views
1 answer
    I have a large array that I would like to process by handing slices of it to a few asynchronous tasks. As a proof ... , if so, how to avoid it. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
636 views
1 answer
    I have created a custom iOS framework LoginKit. It, in turn embeds Alamofire framework underneath. In the ... purpose of encapsulation here ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I want to create a scroll view/slider for images. See my example code: ScrollView(.horizontal, showsIndicators: ... be known method, right? 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

...