Questions tagged as 'swift'

1
answer

My audio is not played with AVPlayer

I try to play the audio of a link when I press a certain button, but nothing is heard. This is my code: @IBAction func Reproducir(sender: AnyObject) { let urlString = "http://elpenitente.playcofrade.com/marchas/\(pasarid).mp3" let url...
asked by 21.02.2016 / 18:02
1
answer

Array of the AnyObject type to a Json array using swift

I am new to the development of applications for IOS and I am using swift, I need to generate a Json array like this: { "PaymentItems": [ { "id": "1", "paid": false }, { "id": "2", "paid": false },...
asked by 08.06.2016 / 06:20
2
answers

UITableView problem when it does not retrieve data from BD

Hello, I have a problem, I am very new in swift, I made a UITableview taken from a mysql database, when the webservices bring me data, there is no problem, that is, the table is loaded with the corresponding data, but when the web services bring...
asked by 02.09.2016 / 04:57
3
answers

iOS 9 Splash screen always black

The splash screen of the application in iOs always shows it black. I have configured in the project: Targets / General / App Icons and Launch Images / launch Screen File. But when executing, the screen is always black .     
asked by 21.04.2016 / 23:06
1
answer

Table View Swift Xcode

I am new programming for iOS so I do not know how to solve this problem, I have a view where I have 2 tableview one where you select which chat you want to open and the other table is where the messages are displayed. Now I have 3 problems...
asked by 05.06.2018 / 19:27
1
answer

UIControllerView Swift

Controller Class var items = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37",...
asked by 14.05.2018 / 17:05
1
answer

How to achieve a semi transparent background in an app for iOS made with Xcode? (Type iBooks)

my question is how it is achieved (if it can be done) that the background of the app that is being created in Xcode (Swift) is semi transparent. Something similar to iBooks on iOS that when opened does not show a white background but shows the w...
asked by 04.04.2018 / 03:21
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

Declare a two-dimensional array that contains a Swift dictionary?

I need to create a two-dimensional array that contains a dictionary. I've declared it this way but it throws me wrong var miArray = [String: AnyObject][ ][ ] To fill it in, it would be: miArray[columna][linea] = ["llave1":"dato1", "llave2...
asked by 27.03.2018 / 14:04
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