Questions tagged as 'xcode'

2
answers

Value of a JSON or NSDictionary to integer

I'm doing tests on a webservice by taking the value of a JSON that returns (it's an integer) it throws me an error. To take the value I do it with: [[respuesta valueForKey:@"code"] integerValue] The error you're leaving is...
asked by 20.12.2016 / 22:04
1
answer

Doubt Stack View

I have grouped several buttons inside a Stack View. Once the restrictions are applied, it looks perfect on an iPhone SE, but when you switch to a higher screen like an iPhone 7 Plus or higher, the entire Stack View flattens out on top. I trie...
asked by 01.02.2017 / 20:08
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

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
1
answer

Download and save image in swift 2 [closed]

I have a web service where is a photo and I need to download it to my device, save it and also create a folder where you should save the image from swift 2. How can I do it? How do I do it? Thank you.     
asked by 13.06.2016 / 15:34
1
answer

The file is deleted when changing the driver

I have an app where I save a file in a method called send image and there is a save and if I verify the existence of the file it returns true and everything is fine, but then according to some criteria another method must be fired in this method...
asked by 13.06.2016 / 18:55
1
answer

Error Slim Swift 2

I have a native iOS application, in which I must consume a web service where I send a photo in base 64 to the backend in php with slim framework but I return the following error on the code 64 of the image: recoverable error: Corrupt JPEG...
asked by 01.06.2016 / 22:23
3
answers

Help for git with xCode

I have a file xcuserstate that is modified every time I do something in the xCode, it is as follows: modified: Proyecto.xcodeproj/project.xcworkspace/xcuserdata/MiNombre.xcuserdatad/UserInterfaceState.xcuserstate For this to stop h...
asked by 31.05.2016 / 20:24
1
answer

variable declaration Dictionary swift

I have a function to obtain the coordinates according to address. I have to declare a variable as dictionary to transform a result into json. var error: NSError? let dictionary: Dictionary<NSObject, AnyObject> = NSJSONSerializ...
asked by 19.03.2016 / 01:31