Posts by Alice Kellen • 125 points
13 posts
-
3
votes1
answer73
viewsQ: "unwrapping an Optional value" error in login screen transition
Whenever I will do the screen pass with login and password my application to with the error below: fatal error: unexpectedly found nil while unwrapping an Optional value Function Signature…
-
1
votes1
answer101
viewsQ: How to automatically add lines (label) to an Uicollection in Swift?
In my application I managed to use Uicollection to show a "table" with horizontal scrolling containing the purchase information of the customer with header, but now I have another question, I need…
-
1
votes0
answers325
viewsQ: How to integrate with Pagseguro using Uiwebview on Swift
I’m trying to integrate Pagseguro with my Swift application using Uiwebview, using POST method, but it didn’t work. following error being returned and the part of my code where I make the call:…
-
0
votes3
answers119
viewsA: Migrate JSON request from android to Swift
I recently did a login authentication with Swift’s POST. I used the code below: let URL = NSURL(string: "http://linkdoseuservidor") let mutableURLRequest = NSMutableURLRequest(URL: URL!)…
-
1
votes1
answer350
viewsQ: Can you create a table with Swift that contains multiple columns?
I need to assemble a table with multiple columns with the details of the customer’s purchase, but with the tableView I can only create tables with one column, can I use the tableView or something…
-
0
votes2
answers223
viewsQ: How to feed a tableView from a screen with information from another screen?
Good evening, I have 3 screens in my app to buy passwords, the last of them has a Windows tablet powered by the passwords purchased by the user on a previous screen. He must choose a password and it…
-
0
votes1
answer92
viewsQ: How to pass a CPF as a parameter of the Nsdictionary type for a call with JSON and POST?
Hello, I have a question. I need to pass a CPF entered by the user as a parameter in my POST call to return with his data. The call works with a CPF already registered, but only works if the CPF is…
-
1
votes1
answer41
viewsQ: How to pass a "title" on an Int-like "Uialertcontroller" with Swift?
Good afternoon, you guys. I’m calling an Alert in my code where I need its "title" to be the return id of a JSON, my json object has id and status, the id is of type Int and the status is of type…
-
1
votes2
answers948
viewsQ: How to transition screens programmatically with Swift?
Good evening, guys. I’m trying to do some programmatically transitions of the screen with Swift, but I can’t. I tried to use navigationController, but it didn’t work, it always gives a different…
-
0
votes2
answers125
viewsA: How to get a return of an Array<String> in a GET call with task.resume()?
Thank you, iTSagnar. I did it this way and it worked. With the Alamofire I tried too, but with me it was not very simple :/ But I got my return. Thanks :D
-
2
votes2
answers125
viewsQ: How to get a return of an Array<String> in a GET call with task.resume()?
Good afternoon, you guys. I’m having a hard time uploading the content of a Pickerview in my app, as it needs to fetch the information in a call GET, the call works and I can assemble the array with…
-
0
votes2
answers690
viewsA: How to pass variables as a parameter in a JSON object on Swift?
Thank you so much for the help. I was able to access my json as an object like this: if Let JSON = Response.result.value { print("JSON: (JSON)") let idUsuario = dataJSON["id"] let nomeUsuario =…
-
1
votes2
answers690
viewsQ: How to pass variables as a parameter in a JSON object on Swift?
I’m making a call POST with Swift using the Alamofire library. The service call works, but I need to check the email and the password user-typed. How do I pass the variables email and senha in the…