swift tag

599 questions


1 answers
78 views
0
The error stringByTrimmingCharactersInSet has not been corrected.

I was learning Swift, and I had a lot of errors when I downloaded and started the file, and the reason was because it was written in Swift2, so I changed it to Swift4, but I couldn't change it to stri...

2 years ago

1 answers
35 views
0
I want to rotate the Rubik's Cube using SceneKit.

I'm trying to create an app for Rubik's Cube using SceneKit.I was able to make 27 blocks of Rubik's Cube using SCNNode(), but I am having trouble with the rotation of the blocks.Please let me know how...

2 years ago

2 answers
33 views
0
About the book sample code: Meaning bound, meaning [xxxx]()

Please let me know two things about the sample code of the book.Reference: iPhone/iPad Programming Bible: Eiichi Fudurukawa// Creating a puzzle gameclassViewController:UIViewController { let BTN_START...

2 years ago

1 answers
53 views
0
Firebase Data Retrieval

As the title says, I am having trouble getting information about the realtime database.Specifically, I'd like to go get information on the top tier of the json tree, but I can't get the data by specif...

2 years ago

1 answers
31 views
0
I want to get location information every second with swift!

I use startUpdatingLocation() to get location information from the deligate, but I want to get it every second, but I can only get it once every 10 seconds.Can't it be removed in the first place?If so...

2 years ago

2 answers
35 views
0
Error in Formatting Recorded Audio

When setting the audio format, the following programs will fail:Note: I added UInt, but I get an error in as [NSObject:AnyObject] of soundRecorder.let recordSettings: [String:Any] = [AVFormatIDKey:UIn...

2 years ago

1 answers
44 views
0
Error in build when Xcode associated with outlet instead of action in Button

I'm having trouble with the following 5.Xcode is version 6.4 and is made with swift.Running Reset contents and settings... on the iOS simulator does not change much.If you have any questions, please a...

2 years ago

1 answers
48 views
0
Understanding How to Debug iOS for Older Vers with Current xcode

I'm new to iPhone app development.I am using Xcode 10.3.I'd like to do some debugging with the iOS 9.0 simulator.If you look at the simulator list, only iOS 10.3.1 and later are present.Is it impossib...

2 years ago

1 answers
46 views
0
How do I display TableView in the same way as the screen transition destination of TableView in Swift?

How can I make it into TableView where I can edit (add) the data like in the picture below, and TableView where I can edit and add the data at the screen transition destination?As for the image, it lo...

2 years ago

3 answers
69 views
0
Outputs duplicate count from array

Can I determine how many times it is duplicated from the Swift array and output the number of times it is duplicated?For example, if there is an array called [0,0,0,2,2,3,4,4],0—Three times.1:0 times2...

2 years ago
« - 36 - »

© 2024 OneMinuteCode. All rights reserved.