Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged swift
0
votes
2.2k
views
1
answer
swift - Center Item Inside Horizontal Stack
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)
swift
0
votes
2.3k
views
1
answer
swift - How to query nested data in Firebase Database?
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)
swift
0
votes
2.0k
views
1
answer
swift - How to generate a binding for each array element
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)
swift
0
votes
2.3k
views
1
answer
swift - PreviewProvider and ObservedObject properties
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)
swift
0
votes
2.6k
views
1
answer
swift - Get LAT and LONG from tapped overlay in Google Maps
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)
swift
0
votes
2.2k
views
1
answer
swift - Using delegates on generic protocol
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)
swift
0
votes
2.2k
views
1
answer
swift - Issue with adding node to scene view
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)
swift
0
votes
2.2k
views
1
answer
swift - Enumeration with raw values
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)
swift
0
votes
2.3k
views
1
answer
swift - Find multiple quoted words in a string with regex
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)
swift
0
votes
2.2k
views
1
answer
swift - Token Mismatch using Phone Number Authentication - iOS
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)
swift
0
votes
2.8k
views
1
answer
swift - SwiftUI out of index when deleting an array element in ForEach
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)
swift
0
votes
2.1k
views
1
answer
swift - turn for in loops local variables into mutable variables
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)
swift
0
votes
2.2k
views
1
answer
swift - Naming convention for optional binding
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)
swift
0
votes
3.0k
views
1
answer
swift - Load desktop version WKWebView iOS 9
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)
swift
0
votes
2.1k
views
1
answer
swift - How to mimic `UITableViewController` showing of the large titles in `navigationBar` on iOS 11
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)
swift
0
votes
2.1k
views
1
answer
swift - Change WebView url from AppDelegate
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)
swift
0
votes
2.4k
views
1
answer
swift - Core Data Predicate not working
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)
swift
0
votes
2.5k
views
1
answer
swift - requestWhenInUseAuthorization() not Work in iOS 8 With NSLocationWhenInUseUsageDescription Key in Info.plist
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)
swift
0
votes
2.1k
views
1
answer
swift - Why does Int(Float(Int.max)) give me an error?
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)
swift
0
votes
2.4k
views
1
answer
swift - How to embed third party framework on ionic capacitor custom plugin?
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)
swift
0
votes
3.7k
views
1
answer
swift - UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController
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)
swift
0
votes
2.4k
views
1
answer
swift - Draw a semi-circle button iOS
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)
swift
0
votes
1.9k
views
1
answer
swift - How to rotate sprites around a joint
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)
swift
0
votes
2.3k
views
1
answer
swift - SceneKit – Custom geometry does not show up
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)
swift
0
votes
2.2k
views
1
answer
swift - Declare array of classes that conform to a protocol
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)
swift
0
votes
2.4k
views
1
answer
swift - Using YTPlayerView to play embedded YouTube video in iOS failed with restriction error
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)
swift
0
votes
2.2k
views
1
answer
swift - Retrieve multiple photos under a node from Firebase Storage
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)
swift
0
votes
2.5k
views
1
answer
swift - ARKit – Viewport Size vs Real Screen Resolution
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)
swift
Page:
1
2
3
4
5
6
...
70
next »
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question
Just Browsing Browsing
[1] ios - Having difficulty parsing a response from an API call
[2] python运行后,显示gui界面和访问网络如何两不误
[3] css关于matrix2d变换的问题
[4] python - Problem streaming Excel file with images, Flask, Gcloud Storage, Openpyxl, doesn't saves file with all the images
[5] python - Scrapy spider error processing (scrapy.core.scraper)
[6] 浏览器右下角这个报错的六边形是怎么出来的?
[7] 小程序UI框架,哪个比较好,求推荐
[8] python - Initialize a TypedDict and fill keys & values later
[9] How to handle microphone sound level update event in gnome extensions?
[10] c++ - Why does QGraphicsScene ignore the left mouse button release event if the mousePressEvent method is not reimplemented in the widget?
2.1m
questions
2.1m
answers
60
comments
57.0k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...