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
762 views
1 answer
    In answering this earlier question about getting a use of ceil() on a CGFloat to compile for all architectures, I ... not as "icky") solution? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
697 views
1 answer
    I'm trying to share my Scene Kit code across iOS and OS X, but the API calls that accept colors (and ... in Swift without duplicating the code? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
986 views
1 answer
    I'm currently making a photo editing app. When a photo is selected by the user, it is automatically converted ... what code should be used. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am collecting face mesh 3D vertices using ARKit. I have read: Mapping image onto 3D face mesh and ... suggestions? Thanks in advance! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Have an app going with multiple sections, a few rows per section when "expanded", none when "collapsed". Each ... there's that. Any ideas? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
775 views
1 answer
    I have a query that searches for a user based on user ID. usersRef.queryOrderedByChild("email").queryEqualToValue(email ... { print(child.key) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
816 views
1 answer
    This code worked just fine in Swift 2.3 and I don't understand why I have to unwrap TestClass to check if number ... test?.optionalInt > 4 { } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    At this answer the solution work for Scene plus swiftUI. However using @main like: @main struct MyApp: App ... to perform an authentication. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
738 views
1 answer
    I was trying to define a variable that can hold a closure and ran into some difficulties using Swift's ... why this would be happening. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
656 views
1 answer
    let dic : [Double : Double] = [1.1 : 2.3, 2.3 : 1.1, 1.2 : 2.3] print(dic)// [2. ... more than 2.2999999999999998, 1.2 is just 1.2 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
801 views
1 answer
    Each Emoji has a description that you can see in Mac OS's ??Space special character picker. There's a list ... OPEN MOUTH AND SMILING EYES". See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
745 views
1 answer
    Is it possible to use a reserved keyword as enum case? For example: enum MyEnum { case Self // compiler ... Is there anything similar in swift? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to figure out how to save a WebView to a PDF and totally stuck, would really appreciate some ... capture the SubView? Any ideas? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
747 views
1 answer
    Today I've met one weird issue when I was trying to 'generalize' my 'CoreData importing operations'. It ... Am I missing something here? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I just want to convert an array into a tuple in Swift; something like the following: >>> myArray = [1,2,3,4,5] ... , so I am very, very new). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
695 views
1 answer
    I have this code that creates a view and applies a gradient to it. import UIKit import QuartzCore let rect : CGRect ... and how do I solve this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
649 views
1 answer
    I can't get the "prefs" URL Scheme to work in iOS 10 (Beta 1). It's set up correctly since ... the "Settings" button does absolutely nothing. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
502 views
1 answer
    Recently I have been developing multiple heavily protocol-oriented application frameworks with Swift and noticed a few ... be of SomeChildClass? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    The Android API has a very convenient class for this, IconGenerator. Using the IconGenerator in my Android app, I ... // map is a GMSMapView See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am using UIBezierPath to have my imageview have round corners but I also want to add a border to the ... along with my current code? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
967 views
1 answer
    Here's a simple SwiftUI List that works as expected: struct App: View { let items = Array(100...200) var body: ... ' How do I make this work? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
603 views
1 answer
    I've been looking around and wasnt able to see any swift related ways to do this. I'm trying to get ... = jobSkillView.frame.size.height } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
825 views
1 answer
    On ios13, with iphone x, the large title navigation does not cover the status bar however when scrolling and ... why this is happening. Cheers See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have the following code in a swift UITableViewController, but i get a "Must translate autoresizing mask into ... am i doing wrong? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
649 views
1 answer
    HI i am new to swift any idea . How to initialize a struct from a json object . i could not figure out how can i do ... "] as? String ?? "" } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
904 views
1 answer
    Extension cannot contain stored property, but why then can static stored property be defined within extension? I also didn ... test2 = "Test2" } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
620 views
1 answer
    If I have an app made with SwiftUI, will it work for iOS below iOS 13? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
710 views
1 answer
    Is there a way to choose file from iCloud Drive similar way to UIImagePickerController()? See Question&Answers more detail:os...
asked Oct 17, 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

...