Questions tagged as 'swift3'

0
answers

Problem migrating project from Xcode 8.3.3 to Xcode 9.3

My project does not have any compilation problems, but, when it comes to visualizing my storyboard in the emulators, it is seen with half the screen blank. On the contrary, when I run on a real device, it works for me. I have not change...
asked by 23.04.2018 / 12:11
1
answer

Doubt about bounding boxes SpriteKit

How can you create a bounding box that collides with a circular shape, being this triangular?     
asked by 26.09.2017 / 18:12
1
answer

How to make a json array: $ in swift 3?

Hello, I need help, I do not know how to do a JsonArray in swift 3, the only thing I've achieved is to do this: { "Etiqueta":"valor", "":"", "":"" } and what I need to do is this: [ { "Etiqueta":"valor", "Etiqueta":"...
asked by 16.09.2017 / 02:22
3
answers

stay in a viewcontroller

I'm doing a login for iOS . The problem is that I have 2 viewController , of which, the first has 2 textField (username and password) and a button (Enter), and the second, only has a label Ingresaste and both connected by a...
asked by 05.06.2017 / 04:31
0
answers

BeforeClass in XCTestCase in Swift

I am testing my application's interface, using Swift 3 and I use xCode 8 . However, I need to make a user registration before starting my test cases and when I finish all the tests I must delete the created user, in order not to affect the...
asked by 18.05.2017 / 22:59
2
answers

file management in swift 3

I'm starting with this language and in this particular exercise I want to use the Utilities.swift file in the FMDB folder in a CategoriasViewController.swift file in the Controllers folder. The folders are created in a "physical" way, that is...
asked by 29.03.2017 / 05:43
0
answers

Make VoIP call on iOS with Swift 3

I'm trying to make IP voice calls on iOS with Swift (using Apple's SpeakerBox) but I do not know where the local network I want to use is added to make the call, the code needed to do it and the necessary configuration for the Xcode and that eve...
asked by 07.03.2017 / 09:59
2
answers

The simulator presents the black screen when you give Play with SWIFT 3 and Xcode 8

I am new to this tool but following the steps of the course I take and wanting to display a "Hello World" string in the simulator, it runs and starts loading the following screens in this order: Someone could help me to see that I...
asked by 22.02.2017 / 01:58
1
answer

Modal window in swift

I need to make a modal window in swift . The code I have in the controller that launches the modal is this: if segue.identifier == "modal" { let vc = segue.destination as! ModalViewController vc.modalPresentationStyle = .current...
asked by 03.11.2016 / 10:25
1
answer

Truncate tail of a line in swift

I'm doing an example that shows me the tweets that there are according to the user who writes. The problem is that by putting the Nombre de usuario and followed the nombre la cuenta % I% truncates the start of nombre de usuario in...
asked by 27.09.2016 / 08:46