Questions tagged as 'swift'

3
answers

Know when the App is launched for the first time in IOS

This question is in Android , but how would it be in iOS ? How can you tell if it's the first time the app starts? It would be interesting, in the case that the user updates the application is detected as new or update.     
asked by 30.08.2016 / 13:28
2
answers

How to relate the touch id fingerprint to a user

How can I relate the fingerprint to a username and password? That is, I can know that fingerprint is good and I have it registered in the mobile, but if that mobile is shared and I have several tracks registered, in my app how do I know which us...
asked by 16.02.2017 / 15:01
1
answer

checkbox in swift

I need to add checkbox with the days of the week as in this image: The problem is that I can not find how to do it, I have tried with the library iCheckbox but it is not available. EDITED The response of Error404 is...
asked by 08.11.2016 / 10:35
3
answers

Is there something in swift like the python raw_input?

Can you do something similar to the following: nombre = raw_input("cual es tu nombre?") to take the user's response from textfield or from the console?     
asked by 22.12.2015 / 21:02
1
answer

NSLayoutConstraints Margin and view that is not displayed

What's wrong with this code? Because the blue view is not shown? let myRedView = UIView(frame: CGRect(x: 0, y: 0, width: 400, height: 400)) myRedView.translatesAutoresizingMaskIntoConstraints = false myRedView.backgroundColor = UIColor.redColo...
asked by 07.06.2016 / 18:45
1
answer

Modify item "More" Tab Bar ios swift

I have made an app with Tab Bar and when I implement more than 6 items it automatically creates the "More" item. How do I modify the title "More" and what else is in English ?. Attached Images.     
asked by 16.05.2016 / 23:17
2
answers

Swift - Pass data between views with custom controls

I'm doing a navigation between views and passing parameters through the segue. The idea is this: ViewA - You have a custom control (cell), with a label and an image. This custom cell has its own class called RateCell , which contains th...
asked by 05.07.2016 / 13:34
1
answer

Error navigating between two controllers with segues in IOS

I have two views, A and B, each with its respective driver. From view A I can go to B. And from the B I open a new controller that has no associated view, but I create it programmatically. From the new controller created I have a button th...
asked by 23.11.2016 / 12:04
2
answers

How to make a hairline in Swift

Sketch a bit in Swift I find that I do not know which is the control to make the following type of model so far I have My question would be how to imitate the image above Add as you told me a view of 1 height but the view...
asked by 05.04.2018 / 14:24
4
answers

Help with json swift on ios

Greetings to Everyone I'm trying to access the values of the Result {"Result":{"CODIGO":"Error","DESCRIPCION":"true","ID":"23"}} The Controller, for now I only access the Result. class FirstViewController: UIViewController { @IBOutle...
asked by 30.04.2016 / 19:38