Questions tagged as 'swift3'

1
answer

Error loading a web in a webview in swift

I have a webview in which I pass a url, it usually works fine, but there are other times that I get this error: libc++abi.dylib: terminating with uncaught exception of type NSException The problem is that I do not know where the...
asked by 24.10.2016 / 12:04
2
answers

Sort array of objects in swift

I need to sort a array alphabetically in swift . I found this code: var images : [imageFile] = [] images.sort({ $0.fileID > $1.fileID }) But I do not know how I can apply it to my array My code: if let dataFro...
asked by 18.10.2016 / 10:10
1
answer

Open a new view by pressing an item of a table in Swift 3

I have a problem with a table created in Xcode8 and Swift 3, my table is generated by code I mean that all the contents of the table are loaded from arrays in its class and with the methods "numberOfSections" and "numberOfRowsInSection", I gener...
asked by 11.07.2018 / 16:33
1
answer

Where to start for Core Data relationships

Good to everyone, I'm new to Swift, I've been learning for 3 weeks on my own and I'm developing a very simple app to store your clothes At the moment I have achieved that the user puts in a Data Core the clothes with his photo, brand and name...
asked by 14.10.2017 / 21:54
1
answer

Problems loading storyboard xcode 9

I had a problem with xcode 9 . It turns out that I have a project in swift 3 , I have it in a mac and the xcode where it was created was like the 6, but in the same mac it has been updating the xcode from the store u...
asked by 02.10.2017 / 14:37
1
answer

check if a file has already been downloaded in swift 3

I have a method to download a json from a url and it works correctly, I download the file and it prints the path where it was saved, but now I do not know how to implement a method to verify that if the file already exists, it does not it will b...
asked by 15.08.2017 / 23:15
1
answer

Email Form Swift 3

I am trying to create a view to send messages to recipients that will be in a database in CoreData, I would like it if someone knows how to implement a view as well as Gmail. That in the para could be displayed the list of contacts, do search...
asked by 20.07.2017 / 18:36
3
answers

I need to send two objects to a web service so that I can respond in swift

I'm doing an application in swift 3 xcode 8 and they tell me that in order for me to access the web service I need to send two objects, it sends me the following example in ajax, how can I do it with xcode 8? $("#cargar").click(function() {...
asked by 22.02.2017 / 00:42
1
answer

Sort an array of dates in swift

I have this array: let arrayFechas = [2016-11-21 23:00:00 +0000, 2016-11-28 23:00:00 +0000, 2016-11-22 23:00:00 +0000, 2016-11-23 23:00:00 +0000, 2016-11-18 23:00:00 +0000, 2016-11-25 23:00:00 +0000, 2016-11-19 23:00:00 +0000, 2016-11-26 2...
asked by 21.11.2016 / 09:11
1
answer

Changes between Swift 2 and Swift 3 [closed]

Does anyone know of any page showing the changes, especially functions, between Swift 2 and Swift 3?     
asked by 28.09.2016 / 08:23