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
655 views
1 answer
    I'm trying to make a view that will act as a sort of "panel", attached to the right ... ([topConstraint, bottomConstraint, widthConstraint]) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
614 views
1 answer
    An old C programmer could use some help with Swift. I don't understanding something about the if-case ... insight would be greatly appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    Normally, we're restricted from discussing Apple prerelease stuff, but I've already seen plenty of SwiftUI discussions, ... the VStack or body. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
734 views
1 answer
    As documented in both Array and Dictionary forEach(_:) Instance methods: Calls the given closure on ... working with functional programming. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
714 views
1 answer
    ARKit app allows us to create an ARReferenceObject, and using it, we can reliably recognize the position ... Reconstruction or Photogrammetry? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
578 views
1 answer
    Reading this I learn that: Instances of value types are not shared: every thread gets its own copy.* That means ... back to Swift 101 again :D See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
656 views
1 answer
    So I have been doing the experiments that are in the Apple Swift Book. I have been able to ... threeOfSpades.createFullDeck() seems incorrect. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
754 views
1 answer
    I'm trying to use the firebase pod, however getting this (see image) error message when a run is attempted. I ... clean it a bunch of times. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
720 views
1 answer
    I have this extension (found in obj-c and I converted it to Swift3) to get the same UIImage but grayscaled: ... can't I improve the quality ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
503 views
1 answer
    I am trying to restructure this Github Swift project on Metaballs so that the circles are represented by SKShapeNodes ... = center1.angleBetween(center2) let angle2 = acos((rad...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
708 views
1 answer
    we are trying to reference swift methods inside an objective-c implementation. Swift 3 Class: import Foundation @objc ... selector 'addX:addY' See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
733 views
1 answer
    So I had updated my XCode to 7.3 today evening. In one of my projects, I get the following error for few ... idea why this is happening? TIA! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
746 views
1 answer
    The SwiftUI tutorial uses the @State keyword to indicate mutable UI state: @State var showFavoritesOnly = false It ... within the body getter? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
839 views
1 answer
    What's the best way for embedding a video into a UITableViewCell? I'm trying to build something sorta like Vine/ ... .view) } return cell } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
807 views
1 answer
    I set my cache as below var cacheSizeMemory = 20 * 1024 * 1024 var cacheSizeDisk = 100 * 1024 * 1024 var ... ) value is nil Any thoughts? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
882 views
1 answer
    I would like to call a function when selectedOption's value changes. Is there a way to do this in SwiftUI ... would love some help. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    In SwiftUI, whenever the navigation bar is hidden, the swipe to go back gesture is disabled as well. ... or solutions are greatly appreciated See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I get the below error while connecting to self signed server. Error Domain=NSURLErrorDomain Code=-1202 "The ... be implemented. Please advice. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    I am trying to implement the iOS 11 native large navigation bar title on my new application. By calling ... and flag for prefersLargeTitles. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
781 views
1 answer
    I'm trying to load an image from an iOS 8 framework that I'm writing (in Swift). I'm using Xcode 6 ... , but this doesn't work either. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
721 views
1 answer
    I have an array ["abc", "94761178","790"] I want to iterate each and check is a String or an Integer? ... How to convert "123" to integer 123 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
616 views
1 answer
    Trying to use Facebook OAuth with the SafariViewController. First I open the authURL with SafariViewController, which if ... ! Thanks so much! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I've implemented a toggle after following Apple's tutorial on user input. Currently, it looks like this: This is ... the color of a Toggle? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
844 views
1 answer
    Updating from Xcode 10.0 beta 2 to Xcode 10.0 beta 3 I now get this error at build time for an iOS project: ... CocoaPods 1.5.3 SwiftLint 0.26.0 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
935 views
1 answer
    I want to put the download URL of images into my Firebase Database. I can upload the Image into storage but I can' ... , completion: nil) } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I am in process of adding large title in navigation bar in one of the application. The issue is title is ... by considering large title. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have just started using SwiftUI a couple of weeks ago and i'm learning. Today I ran into a into an issue. When I ... { Text("Dismiss") } } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
991 views
1 answer
    I've just update XCode to Version 12 and I'm using Firebase. I've updated pods as well but when I build the ... <> it still doesn't go away. 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

...