Questions tagged as 'xcode'

1
answer

How do I solve this error when running my first app on iPhone?

I get this error when wanting to simulate my program on my iPhone 6s. error: Task failed with exit 1 signal 0 But on the contrary when using a simulator I do not get any errors.     
asked by 21.02.2018 / 17:05
1
answer

Problem About SpriteKit

a question about spriteKit. Every time I play a game, the object appears to me as if the point of coordinates of the scene were in the middle of the scene, ie 0.5. And I've seen the documentation, and it says that the coordinate axis of a sce...
asked by 11.09.2017 / 16:33
2
answers

Error accessing dictionary value in Swift 3

I have the following Json { [ { "id": "c200", "dia": "Lunes", "horario": "07:30/09:20", "materia": "Dibujo Tecnico (T)", "seccion": "A", "profesor" : "Ernesto...
asked by 12.09.2017 / 06:56
1
answer

Implement a class with a swift protocol

I am trying to implement a class that should give me the weather, I am asked for a string as a parameter and also a completion and that is exactly where I get lost on how to implement it. Try to call it using weatherDataWith to display...
asked by 25.08.2017 / 17:31
1
answer

problem with UITableView and moving from one view controller to another

Hello friends, the problem is this I am trying a taleView containing divisors and in those divisions different things and when one of them is touched, I would send it to another view, that is to say one second the problem is that when they are t...
asked by 22.07.2017 / 01:40
1
answer

Create protocol from XCode for Objective-C without touching code?

I would like to know if it is possible to declare / create a protocol of a method in Objective-C by using XCode (ie without writing code)     
asked by 03.07.2017 / 20:47
2
answers

Value in null label or 0

How to do so if (for example in two boxes to perform an operation) in one of the text boxes you have not entered any value, do not close the application. and for label boxes? @IBOutlet weak var N1: UITextField! @IBOutlet weak var N2: UIText...
asked by 26.03.2017 / 22:46
1
answer

NSPredicate simulate an SQL "Select count (distinct columnName)" of an array

I have an Array full of 'n' dictionaries. These dictionaries have the same numbers of fields 'x' fields, with the same name (As a simulation of a typical database table). Field 'B' for example may contain a number or name. I want to know how man...
asked by 21.03.2017 / 16:01
1
answer

Do a fadeout of one view that is below another?

I have a program that when a button is pressed, a view appears superimposed on the main one. I would like the view below to darken slightly (fadeout) so that the view that appears superimposed more contrast. I can not do it well because the code...
asked by 17.01.2017 / 11:07
1
answer

xcode: save a Label value

I can not find the solution that works for me. @IBOutlet weak var N1: UITextField! @IBOutlet weak var N2: UITextField! @IBOutlet weak var P1: UITextField! @IBOutlet weak var P2: UITextField! @IBOutlet weak var F1: UILabel! @IBOutlet weak v...
asked by 24.03.2017 / 11:15