swift4 tag

34 questions


1 answers
67 views
0
You want to change the value of the UIView for another class in the argument.

Hello.I want to change the UIView value for other classes (for example, someView.alpha value) when I press the button, but it doesn't change.Regarding the code below, it seems that each case was reach...

2 years ago

1 answers
66 views
0
Array statements giving Swift2 id error in Swift4

Based on Swift2's book, I created the following code in Swift4 and found the following error in the array part that gives the id:Could you tell me the solution?Cannot convert value of type 'String' to...

2 years ago

1 answers
56 views
0
swift4 Understanding the passing of values between different views

As I wrote in swift4, it is not possible to pass values between different views.I would like to save the text I wrote in ViewController1 to userdefaults and display it in ViewController2's tableView.I...

2 years ago

1 answers
71 views
0
I want to disable other buttons when I press the button.

When I press stopButton, I want to disable nextButton and backButtom. What should I do?IBAction func nextButton(_sender:Any){ if imageIndex==2 { imageIndex=0 } else { imageIndex= imageIndex+1 } imag...

2 years ago
« - 4 -

© 2024 OneMinuteCode. All rights reserved.