Questions tagged as 'swift'

0
answers

CPU usage between scenes in Swift

Good morning! First forgive me if this question is very obvious, but I am still a novice in Swift and I am trying to familiarize myself with the language. I'm trying to make a very simple game. In the main screen at the moment there are so...
asked by 03.04.2016 / 12:18
2
answers

Call a URL from a JSON image to UITableView

In the data of my wordpress json I have the following: [ { id: 10033, title: { rendered: "My title" }, content: { rendered: "Sample text html", } _embedded: { wp:featuredmedia: [ { source_url: "https://domain.com/myimage.jpg", } ] } } I ha...
asked by 23.03.2018 / 22:23
1
answer

How to declare the same constant "let" so that it exists in several functions within a class?

How do you declare a let constant so that it exists in several functions of the same class and you can call it as self? That is, in objective-C it was enough to do before @implementation a @property (strong, nonatomic) NSString * variable; an...
asked by 30.08.2017 / 13:17
1
answer

iOS TabBarController

Hello, I am having a problem with the implementation of the save function in a TabBarController, for which, I have followed the advice of someone from the community and to whom I thank you very much, but I have a problem and I do not get that wo...
asked by 03.05.2018 / 18:13
1
answer

how to multiply a string by the times a variable in Swift tells me

Hello, what happens is that I do not understand how to multiply a string by the number of times a variable tells me and store it in a function, I explain 6 is the number of times it has to be repeated and a! It is the string as I do so that it s...
asked by 02.06.2018 / 20:35
2
answers

How to pass a string to several view controllers?

I want to pass information obtained from a textfield to several view controllers, is it possible? how? thanks     
asked by 02.05.2018 / 01:07