Questions tagged as 'swift'

1
answer

UIView and calayer

I'm learning about Core Animation, and from what I understood about CALayer and UIView is the layer of view is responsible for drawing the same since it uses the gpu and not the cpu, so its performance is more effecti...
asked by 13.01.2017 / 20:57
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
2
answers

Rounded edges in tables + Swift 3 shadow

How can I make the edges of my table look rounded and not straight. as in each line. And add a shadow to the table The edges of the table are round     
asked by 17.11.2016 / 15:55
1
answer

Download volume to SKAudioNode in a certain time

I am trying to download the volume to a SKAudioNode using the following code: audioNode?.run(SKAction.changeVolume(to: 0.0, duration: 3.0 )) You should lower the volume to 0.0 in 3.0 seconds. But the sound stops immediately. Is it possib...
asked by 21.10.2016 / 02:24
2
answers

Block the user's interaction momentarily swift

I need that when I click on an option in a side menu, the user's interaction is disabled until the view is loaded. If you do not block it, the view is loaded as many times as clicks have been made on the menu. I've tried this: UIApplicat...
asked by 18.10.2016 / 11:19
1
answer

Switch from one textField to another TextField when giving it to continue on the IOS keyboard

How can I go from textfield to other textfield by hitting the continue button on the keyboard of ios ?? I've tried with @IBAction but it only works for me if I change manually from textfield     
asked by 03.10.2016 / 11:04
1
answer

Problems converting to Swift 3 [closed]

nose if you are also having problems to convert to Swift 3 especially with frameworks like Alamofire and others, I miss thousands of errors impossible to solve, do not know how you are facing these problems?     
asked by 15.09.2016 / 17:19
1
answer

Display images from mysql in xcode

I have a database with the table category in which has the image column with the URL of each image, how can I make them appear in the UIImage. import Foundation import UIKit import WebKit class HomeViewController: UIViewController, UITableVie...
asked by 12.08.2016 / 18:07
1
answer

Define auto height in UICollectionViewCell

Is there any way that the height of a UICollectionViewCell suits the content as in UITableViewCell ?? Example: In the UITableViewCell I have this code so that the height adapts to the content: self.tableView.rowHeight =...
asked by 07.07.2016 / 11:21
1
answer

xcode two view_controller move between them

Good I'm doing the test of having two view_controller one called Main and another view_2 , in each one there is a button and that serves as a navigation between them, but I fail to return. In the first view controller...
asked by 05.07.2016 / 23:45