swift tag

599 questions


2 answers
38 views
0
With swift, the multidimensional array doesn't work the way you want it to.

Nice to meet you vara=[String]()a. insert(a, atIndex:0)a.append(b)a+=[c]Something like I'd like to have multiple arrays. varb=[String]]()a[0].insert(a, atIndex:0)a[1].append(b)a[2]+=[c]Compilation pas...

2 years ago

1 answers
40 views
0
Can you find out the coordinates of the screen touching at regular intervals?

by NSTimer, etc.Is it possible to know the coordinates of the screen being touched at regular intervals?It's not when the touch moved. at the right time.They want to know the coordinates of the finger...

2 years ago

1 answers
96 views
0
Implementing Share on iOS 11

iOS 11 no longer has the ability to log in to FaceBook and Twitter, and share functionality using SLComposeViewController is no longer implemented.I would appreciate it if you could tell me how to sha...

2 years ago

1 answers
48 views
0
How do I display it from a designated point in WebView of Swift?

How do I display it from a designated location in Swift's WebView?I'd like to display the red line below in the picture below as a search result, but I don't know the code. Thank you for your cooperat...

2 years ago

1 answers
81 views
0
What are the advantages of using an editor instead of an Xcode?

Xcode is very difficult to use, and I sometimes see articles like writing Swift in an editor, but is the development progressing that much with an editor (for example, VS Code)?What are the advantages...

2 years ago

1 answers
65 views
0
Loop to 0 value from API

The API responds with a number, but until the value reaches zero.I'd like to keep throwing requests to the same API in Alamofire.I can't think of how to code it.If you want to receive the results in t...

2 years ago

1 answers
89 views
0
Why does the iPhone 6 Plus crash only?

I created an app with Swift and submitted it to iTunesConnect.In less than an hour, I got a reply of reject (it was my first reject), iPhone 6 Plus running iOS 8.1The message was to reject to crash on...

2 years ago

1 answers
46 views
0
About Realm Swift SUBQUERY

I look forward to your kind cooperation.iOS 8.0Swift 2.1Realm 0.96.3 I would like to define two classes with parent-child relationships and extract Parent with one or more Child with status true.class...

2 years ago

2 answers
34 views
0
How do I scroll with a fixed part of the screen in iOS?

I am making an app for iPad with xcode8&swift.I use Storyboard & Autolayout.iOS 10.x is the target.UITableView is placed in the UIScrollView to display a larger table than the screen on both t...

2 years ago

1 answers
69 views
0
touchesBegan does not work

I created a program like this on Playground in Xcode.However, touchesBegan does not work If it works, it should show touched, but it doesn'timport UIKitimport SpriteKitimport PlaygroundSupportclass se...

2 years ago
« - 52 - »

© 2024 OneMinuteCode. All rights reserved.