swift tag

599 questions


2 answers
125 views
0
LANGUAGE ACQUISITION METHOD FOR iOS SETTING INFORMATION AND COUNTRY

I'd like to get language and country information on the settings screen.For ios9 seriesNSLocale.preferredLanguages().first when used.ja-JP appears. for ios 8 or lower ja appears.As for the information...

2 years ago

3 answers
31 views
0
case statement text display

I'm a beginner.I make a simple omikuji app with swift.in ViewController.swiftimport UIKitclassViewController:UIViewController { @IBOutlet varuranau: UIButton! @ IBAction func Uranau (sender: UIButton)...

2 years ago

1 answers
31 views
0
News app ranking function [closed]

Do you want to improve this question?Edit this post and update the question to focus on one issueClosed 4 years ago.4 years agoI make news apps on iOS.Many news apps have rankings of 24 hours, a week,...

2 years ago

1 answers
116 views
0
Where to Use Protocols

I would like to ask you a question because I am not sure about the iOS protocol.First of all, is the protocol used mainly for delivery?Are there few other uses besides delivering?Can you think of othe...


1 answers
31 views
0
Scroll view in swift

I am currently making a simple scroll view with swift (sliding to the next picture).I was able to display the image, but the screen is full and I can't display it beautifully with the aspect ratio adj...

2 years ago

1 answers
83 views
0
Swift4 Terminal Sleep Count

I am currently using Swift4, but I would like to get the number of sleep on my device.I understand that you write the code with AppDelegate.swift when you sleep or start the app.What kind of code shou...

2 years ago

1 answers
34 views
0
Please tell me how to set up a two-dimensional array of images.

I put UIImage in ViewdidLoad by creating an array like the one below. How can I write it when I program it in a two-dimensional array?@IBOutlet varmainImage:UIImageView!variableListArray:Array<UIIm...

2 years ago

1 answers
84 views
0
Please tell me how to increase the number by one every 0.25 seconds.

I'd like to write a code that says the number increases with time.As shown in the code below, we can increase the number every second, but You cannot increase a decimal number, such as every 0.25 seco...

2 years ago

2 answers
44 views
0
I want to add variables in the extension of the UIView

As per the title, when I looked into it to implement it, I found an article saying that Extensions can add methods, but not variables, and it said that I had to add classes myself.But I don't know how...

2 years ago

2 answers
49 views
0
About Nesting Swift Playground While Statements

I've been learning from swift playgrounds several times.I typed the cord as shown in the picture, and it went smoothly to the red jewel, but it didn't stop at the jewel square, so I just passed by.Is ...

2 years ago
« - 32 - »

© 2024 OneMinuteCode. All rights reserved.