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.9k views
1 answer
    If I have 3 items inside a Horizontal Stack, I thought I could do something like this: HStack{ Text("test ... item2() is always centered? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    How can I make a query to get all bookings of all users that have timestamp in the range of 1519912278 ...1520689878 ? ... ": "John Doe" } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    If I had a @State or an @ObservedObject variable with an array property, and I wanted to use List and ... to Collection and Sequence here See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    how can I set a property to my CoreData Object which has the type CDObject, it has a property called name: String ... () itm.name = "Hello" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.3k views
1 answer
    When a user taps an overlay, the following code is triggered: func mapView(_ mapView: GMSMapView, didTap overlay: ... has been tapped? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I have got this code: protocol GenericProtocol: class { associatedtype type func funca(component: type) } class ... code to compile? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I am having an issue with the way the model is being placed on the scene view. The problem is that the model ... catch{ print(error) } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    Why I can't define enumeration with raw values like this? enum Edges : (Double, Double) { case TopLeft = (0.0, 0. ... BottomRight = (1.0, 1.0) } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    My app supports 5 languages. I have a string which has some double quotes in it. This string is translated ... the words in between quotes. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I am trying to login account using phone number authentication using firebase. Initially, i deployed the app with my ... error. I wonder why? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.6k views
1 answer
    I looked through different questions here, but unfortunately I couldn't find an answer. This is my code: ... a connection in both directions. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I've this code that I made on playground to represent my problem: import Foundation var countries = ["Poland":[" ... best way to make this work? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    One thing that originally discouraged me from incorporating too much optional binding in my code was the addition of ... ? Thanks for reading. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.7k views
1 answer
    Up until recently let url = NSURL (string:http://asite.com) let request = NSMutableURLRequest(URL: url!) // ... auto update to the newest one? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I'm trying to use prefersLargeTitles from iOS 11 in my application. It works as expected in subclasses of ... . How to solve this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I'm receiving notifications from Firebase in the AppDelegate class. This notification contains a String named "notif_url". I've ... () } } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I am new to Mac and am writing my first app using Core Data. I have a data model in which there is ... be something very simple and stupid :) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.3k views
1 answer
    I am using iOS SDK 8.1 trying to call requestWhenInUseAuthorization() method to prompt user to grant access to ... . But nothing was selected. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I observed something really strange. If you run this code in Swift: Int(Float(Int.max)) It crashes with the ... ! What is wrong with swift? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    I am developing an Ionic Capacitor plugin which imports 2 iOs .framework files and a .bundle that refers to one of ... that I am trying to do. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.4k views
1 answer
    I'm new to Swift and I'm getting this Error. I don't get it because I don't use any type of alert ... which uses the location like google maps. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    I am trying to draw a semi-circle button. I'm having trouble both drawing the semi-circle and attaching ... sunButton.layer.mask = circleShape See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I need to make the arms and hands rotate around the center of the hook, as shown in the image below ... rotation in the image first image? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I should see 2 yellow triangles, but I see nothing. class Terrain { private class func createGeometry () -> SCNGeometry ... I see. What's wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    Lets say I have created this protocol and a couple of classes import UIKit protocol ControllerConstructorProtocol { class ... [0].construct() See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    I want play embedded YouTube video in iOS app using YTPlayerView provided at https://developers.google.com/youtube/v3/ ... //www.youtube.com")) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I have a CollectionView that I am using images from Firebase Storage to fill. I store the images under ' ... in bulk from Firebase Storage? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.3k views
1 answer
    I am writing an ARKit app that uses ARSCNView hitTest function. Also the app sends captured images to the server ... ) is used in hitTest? 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

...