swift3 tag

53 questions


1 answers
73 views
0
Is there a way to display two types of cells (A, B) in the collection view and display the array values only in the cells of A?

As shown in the picture, there are cells with values on the label and cells without displaying anything, but in this state, 3 seems to be in the cell where nothing is displayed (indexpath.row==2).I'd ...


1 answers
120 views
0
About Tableview and Button Unselectable Grayouts

I am creating an application with swift.I found out how to disable TableView and buttons, but I don't know how to gray out.I am forcing myself to change the color and title of the background.

1 years ago

1 answers
84 views
0
Why is it optional here?

I want to write the code for moving the screen@IBAction funcgoSecond(_sender:Any){   let secondVC = self.storyboard ?.instantiateViewController (withIdentifier: second)   present(secondVC!, animated:t...

1 years ago

1 answers
90 views
0
TabBar disappears

This is xcode 8.3The configuration of the storyboard is as above.Click the button from screen 1 on tab 1 to transition to screen 1-2.@IBAction funcbtnNext_click(_sender:Any){ let next=storyboard!.ins...

1 years ago

2 answers
100 views
0
Can't I do the screen transition only from ViewController?

I would like to tap on the TableView cell in Swift 3.0 and transition the screen to ViewController on another Storyboard.The following methods for screen transition present(viewController, animated:tr...

1 years ago

1 answers
109 views
0
I want to display the image output from PHP in swift3·alamofireimage.

I want to get and display PHP-generated images (jpg) using alamofireimage in swift3.Assume ·Alamofireimage itself is operating normally.·If it is a static jpg file on the server, it can be retrieved w...


2 answers
91 views
0
How to Verify the Output of an Escape Sequence

var string2=String()string2+=\Swift\\n\tNew language// Insert line feed code and tabLine breaks and tabs don't reflect well. Why?Thank you for your reply.I checked the confirmation screen from the gra...

1 years ago

1 answers
104 views
0
send an image to mastodon

I am currently working on a program to post images to Mastodon, but I have used the one in the post below as a reference, but http://qiita.com/aryzae/items/8c16bc456588c1251f48#_reference-32d9e31807ff...

1 years ago

1 answers
93 views
0
How to remove the Blur Effect

I have a question about how to remove the Swift Blur. at the same time PopUp View was removed with the following code:I would like to remove the Blur Effect from Button.import UIKitclassViewController...

1 years ago

1 answers
114 views
0
StringIndex advance method fails to compile

// Load Foundation Frameworkimport Foundationvar str = New power of String!// substringFromIndex cannot be used without Foundationbecome str.substringFromIndex(advance(str.startIndex,4))) // power of ...

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.