Posts by Edson Guido • 97 points
11 posts
-
0
votes1
answer242
viewsA: Catch second row of a table
I found the solution, the problem is that not all the lines had the elements in the order I wanted so it is necessary to filter only the lines that have what I want: let movimentosInfo =…
-
0
votes1
answer242
viewsQ: Catch second row of a table
I’m developing an application using Node.js and puppeter to take data from a web page, the problem I have and that I’m not getting the columns I want inside the selected row, this is the part of the…
-
1
votes2
answers215
viewsQ: Splitting a string into an array of strings from the occurrence of a date
I need to separate a string, similar to the example below, into an array of strings starting from the event time date and event code (e.g.: 03/07/2019, 15:43 -104) and ending until the next…
-
0
votes1
answer114
viewsQ: Is that piece of code redundant?
I recently did a C proof in which I had to complete a code to remove items from a queue, follow the code with the answer considered correct highlighted: typedef struct No { int dado; struct No…
-
0
votes1
answer64
viewsA: Invalid Swift error when apple tries to process app
When I had this problem was that my app used an A framework that depended on another B framework and I had only linked Framework A in my project, that is, the problem is that some framework that you…
swiftanswered Edson Guido 97 -
0
votes1
answer95
viewsA: Swift Jsondecoder typeMismatch error
The error is happening because on the first link you are receiving a JSON object and on the second a JSON Array: Note that on the first link the JSON starts with { this means that it is an object…
-
0
votes1
answer136
viewsA: Doubt with creation of For on Swift 3
Will print from 1 to 10 for i in 1 ... 10 { print(i) } Will print from 1 to 9 for i in 1 ..< 10 { print(i) }
-
0
votes1
answer51
viewsA: Xcode update - loss of all simulators
I believe they disappear because of Xcode 8 only to make project for iOS 8+, but if not this is just click on the option "Add Additional Simulators" next to the button "Run" that will open a list…
-
1
votes1
answer256
viewsA: Change font size of pickerview
In this case it is best to use the following Uipickerviewdelegate method: func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusing view: UIView?) ->…
-
2
votes4
answers744
viewsA: How to validate if Textfield is empty?
Another suggestion is to use the command Guard: @IBAction func botton(_ sender: Any) { guard !((textField.text ?? "").isEmpty) else { label.text = "Por favor digite algo" return } let celcius =…
-
2
votes1
answer234
viewsQ: Change the Bundle Identifier of an app already published in the Appstore
I published an App in the App Store with the wrong Bundle Identifier, I ended up using the name(example) "myapp" while the correct one would be "com.empresa.myapp" fixed this in the new version but…