Posts by gilsonGPS • 146 points
10 posts
-
0
votes1
answer30
viewsA: Why can’t I display the value in the print?
Dear friend, First start by adjusting your return Json as it doesn’t seem right and so it might not be entering your if Let. To help you I suggest validating your json on the site :…
-
1
votes1
answer36
views -
0
votes1
answer48
viewsA: How to pass data from one screen to another after function executed
Gustavo, good morning, In fact the responsibility for the request should not be of your viewController, however, as you did so, I believe it would be good to you create a follow for the next…
-
0
votes3
answers389
viewsA: Change font size according to iOS device
Dear friend, the idea is that autoLayout really helps you, but as your question was to know what type of device, follows the answer: You can determine the device as follows: To facilitate I will…
-
0
votes2
answers101
viewsA: How to show loading indicator on Swift 4 with Wkviewweb
Dear colleague, There are 2 questions you have to look at when starting the loading and stopping it: 1 - It starts as Hidden? if yes you need to add: indicador1.startAnimating() indicador1.isHidden…
-
1
votes3
answers138
viewsA: How to treat a reponse.result.value that returns as log optional([])?
Dear colleague, In Swift the way to do all the validation of an optional variable is by using if Let, as shown below. This check replaces the if you did. if let result = response.result.value{ //faz…
-
5
votes3
answers424
views -
2
votes2
answers333
viewsA: How to insert link on button
On Swift 4 the code would look like this: UIApplication.shared.openURL(URL(string: "http://www.quatenus.co.ao")!) In your code is not with error, the Xcode is only warning that there was an update…
-
-1
votes1
answer321
viewsA: Running code snippets in parallel
Dear colleague, The best thing is to create a class that inherits Thread and insert the run(){} method. This method you can put a Synchronized in the method, this way, when you can call the start…
-
1
votes1
answer358
viewsA: How to generate a pdf with Primefaces 5.3 using dataexport
Dear colleague, Looking at the Primefaces documentation, this dataExport does not have a subTable within a datatable. Probably the implementation that creates the PDF can’t get the data through that…