Questions tagged as 'xcode'

2
answers

Splash screen while receiving web service data

Hello!  I have a following problem: I need a splash screen that stays on screen while the app receives the data from the web service to popular a BD sqlite on the iPhone.  I tried using the Xcode image launch, but the image only stays on the scr...
asked by 19.07.2014 / 19:09
1
answer

Swift: change place button according to keyboard appearance

I'm making an application in Xcode and would like the button at the bottom of the screen to move according to the keyboard's appearance. Thank you     
asked by 29.01.2018 / 16:55
1
answer

Converting String to date Swfit 3

Hello, I'm trying to convert a String to Date in Swift 3. But the date is always returning me two more hours. Below is my code. let dateFormatter = DateFormatter() dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss" dateFormatter.locale =...
asked by 13.12.2017 / 12:54
1
answer

How to get a unique device identifier for IOS

In development for Android you can set whether a smartphone is unique through your IMEI or MAC , and may not be the best way to only identify a mobile device, but it works very well. On the other hand, Apple no longer allows developers...
asked by 19.01.2018 / 15:11
1
answer

Share iOS texts

How do I share text on social networks in an iOS App in Swift 3? I have several random phrases in an array and if the person likes any I would like to let the same share such a phrase. How would the one-button code to open options between sharin...
asked by 22.09.2017 / 14:21
1
answer

IOS navigation bar button image

I need to add two buttons in the navigation bar of my app, but what I need to use an external image (already imported to the project) does not appear. override func viewDidLoad() { super.viewDidLoad() //Esse botão aparece...
asked by 06.10.2017 / 12:54
2
answers

Load items from a plist

I'm having trouble loading the items on a property list. Note my plist: Here'smyfirstViewController:importUIKitclassPage1:UITableViewController{varfilePath:String?varemployees:[[String:Any]]=[]overridefuncviewDidLoad(){super.viewDidLoad()self.t...
asked by 26.03.2017 / 04:12
1
answer

Command to comment several lines in Xcode?

Hello Is there any shortcut to commenting on multiple lines in Xcode? I mean, I use /*...*/ today, but I have to go to the beginning of the block to mark the beginning and do the same until the end.     
asked by 24.03.2017 / 14:32
1
answer

Delete a TableView + CoreData row

I'm creating an application with tables and persistence with CoreData , but when I ask to delete a line it does not disappear completely from the screen, leaving the symbol ... disappearing only when I go to a second screen and I go back....
asked by 06.06.2016 / 19:01
1
answer

Override returns error in secondary ViewController in Swift2

I'm getting this message below when trying to swipe into a cell in a TableView. Reminding me that I'm doing this in a viewcontroller file and not in a tableViewController. Is it possible?    Method does not override any method from ist superc...
asked by 08.07.2016 / 21:58