Questions tagged as 'swift'

1
answer

Facebook signup IOS parse

Good afternoon: When he managed to signup and login with Facebook he saved me the id in Parse but he did not save the email of the user used from Facebook to register. He used oauth in Parse server but I do not know why the email does not appear...
asked by 22.02.2017 / 23:12
1
answer

Error creating new project in XCode 7

I have the following error using xcode, the texts overlap one another, this has happened since I installed xcode, unfortunately I do not have much experience in Mac so I beg you to be as clear as possible when indicating how to solve this proble...
asked by 01.11.2016 / 17:49
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
1
answer

Ques means the 'boundary' parameter in http requests

I am developing an app in ios that sends images to a server from swift. When doing the body of the request POSt I have to indicate several times the parameter boundary . What does this parameter mean? Here is an example of my...
asked by 26.08.2016 / 14:07
2
answers

Swift How to get out of the application

Basically that, how can I close the application since I can not find almost any information about it and I would like to add that function to a button in the navigation controller so that the user leaves the application whenever they want, I hav...
asked by 13.08.2016 / 14:36
1
answer

Upload files to a server from IOS app with swift

I'm making an app with which you can upload images to a server (It's in PHP 5.2 ). Firstly, to upload the image, I did it at the moment when the button was clicked to go up from the app and it showed a alertview with a load bar,...
asked by 24.08.2016 / 10:51
1
answer

Problem with object in Nsarray

What I want to do is just grab the idCategoria of the object to be able to use it in another query but it marks the following error:    can not convert value of string to expected argument to int let objeto = values["idCategoria"] p...
asked by 03.08.2016 / 20:02
1
answer

Get the dimensions of an image through a url in swift

How can I get the dimensions of an image that is in a url from swift ?? at the moment I have this code to show the image: imagenPrincipal.contentMode = .ScaleToFill let URL = NSURL(string: oferta!.imagen)! let placeholderImage = UIIm...
asked by 07.07.2016 / 12:20
1
answer

Start IndexPath from one

I need to start it from one to show the corresponding data of the BD func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { vcName = values[indexPath.row]["idCategoria"] as! String print(vcName) /...
asked by 05.08.2016 / 17:37