Most voted "xcode" questions
Xcode is an integrated development environment and free software from Apple Inc. for project management created for iPhone, iPad, Mac, Apple Watch, and Apple TV
Learn more…226 questions
Sort by count of
- 
		0 votes1 answer77 viewsI can’t change the rootViewControllerHello, take it easy on me 'cause I’m a complete beginner. I’m trying to change the root of an application I’m trying to do. It even worked when I mentioned window!.rootViewController =… 
- 
		0 votes1 answer326 viewsImport a Pod function - Cocoapods SwiftI’m starting now with Swift (Xcode 7), I did the installation of cocoapods, but wanted to know how to import the functions that exist in the pod to a new project. 
- 
		0 votes1 answer29 viewsOverride returns secondary Viewcontroller error in Swift2I’m getting this message below while trying to make a Swipe on a cell of a Tableview. Remembering that I am doing this in a viewcontroller file and not in a tableViewController. It is possible?… 
- 
		0 votes1 answer273 viewsDelete a Tableview + Coredata lineI am creating an application with tables and persistence with CoreData, but when I ask to erase a line the same does not disappear completely from the screen, leaving the symbol...disappearing only… 
- 
		0 votes1 answer70 viewsUicollectionviewcontroller 3 columns auto layoutI’m creating a Uicollectionviewcontroller with 2 or 3 columns, when using autolayout in some devices works perfectly but in others not, I did not find anything that speaks how to dynamize these… 
- 
		0 votes2 answers56 viewsHow to call a viewcontrolller RuntimeFriends I just need to open a Viewcontroller , and I’m jerking off, could help. Who can help .... Thank you. . LoginViewController *tela2 = [self.storyboard… 
- 
		0 votes2 answers64 viewsVariable does not appear as declaredTwo issues: I do not understand what is the reason at each end of text seems a \n. I declared a variable name, and when I call the variable in the middle of the text it does not seem that it has not… 
- 
		0 votes2 answers81 viewsSwift: Fixed header on a TableviewcontrollerMy problem is this: my application has a screen that uses the Uitableviewcontroller layout. I created a header (View) for this screen, however, the header does not get fixed at the top of the… 
- 
		0 votes1 answer565 viewsHow to add image to Launchscreen.storyboardIt’s been a long time since I’ve been trying to add an image to Launchscreen.storyboard of an iOS app I’m developing. Text I can add and view while uploading the app, but I can’t see an image I… 
- 
		0 votes2 answers77 viewsProblems with prepareDesign methodI have a problem guys, I’m new to Swift, and I have a method that takes a result from a JSON and I wanted to store it in a local variable and then pass this variable to a viewcontroller by next,… 
- 
		0 votes1 answer60 viewsHow to convert Nsdata to URLFriends I have an image recorded on Sqlite, read the image and put in a Nsdata variable Now I need to play this Nsdata but the component expects a URL NSURL *urlVideoFile = [NSURL… 
- 
		0 votes2 answers333 viewsHow to insert link on buttonGood, how do I insert a link in a tried button below and it didn’t work. @IBAction func urlDisplay(_ sender: AnyObject) {… 
- 
		0 votes1 answer31 viewsSimulated Metrics Change in Xcode 8With the change of Simulated Metrics which of the options below use?… 
- 
		0 votes1 answer58 viewsHow to enable the Macbook camera in the Simulator?I’m making an APP on Xcode that uses the camera to make videos but I can’t use the camera through the Simulator. Is there any way to enable the camera for the Simulator? xcodeasked 8 years, 12 months ago CristianCotrena 1,145
- 
		0 votes1 answer39 viewsSwift does not arrow the text in Uitextfiled after upgraded to Swift 3I updated the XCode for Swift 3 last week and he converted all my code to the version of Swift 3. After that I’m trying to set the text inside a UITextField and it doesn’t work. I’ve already redid… 
- 
		0 votes2 answers78 viewsPicture is stretched when I turn a page on PageviewcontrollerHello I’m new in Swift and I don’t understand why the image stretches when I turn a page using PageViewController as I will show in the image below: This picture is normal, it’s when I haven’t… 
- 
		0 votes0 answers29 viewsHow to test the application on Iphone? Xcode 8 betaGood morning, I’m doing an application on Xcode 8 beta do not have license for developer (U$ 100), as I do to test on my iPhone ? You have some tips to facilitate my tests? Thank you.… 
- 
		0 votes0 answers28 viewsHelp with adjustsFontSizeToFitWidth?When using adjustsFontSizeToFitWidth in the second outlet I get error. Does anyone know how to solve? Note: The second view controller is the first in the same class! import UIKit class… 
- 
		0 votes1 answer27 viewsMigration from Alamofire 2 to Alamofire 4. Extra Argument in call (Request)When making requests to the server used the following code let URL = Foundation.URL(string: "http:....")! let mutableURLRequest = NSMutableURLRequest(url: URL) mutableURLRequest.httpMethod = "POST"… 
- 
		0 votes1 answer48 viewsJSON Object with Array. Migration from Swift 2 to Swift 3Previously in my app when I made a call to the server and if there was an error I would do the following: Alamofire.request(mutableURLRequest).responseJSON{ response in if let JSON =… 
- 
		0 votes1 answer180 viewsForce running order Swift 3/Xcode 8 - ThreadsHello, I’m new to Swift and this week I came across a problem that is already making me pull my hair out! What happens is this, I divided in my application in several classes to make my code more… 
- 
		0 votes1 answer54 viewsHow to show a method description in Xcode auto-complete?I am developing a Framework and I would like when the user type himself and auto-complete suggest the method, below/above appear for what it serves. Like this: I thought I just said that: /** *… 
- 
		0 votes1 answer51 viewsXcode update - loss of all simulatorsI was with version 7 of Xcode and just updated to version 8.2.1 and all iOS simulators are gone. Is there any way I can make them appear again in the Xcode without having to download them all again?… 
- 
		0 votes1 answer52 viewsKeychain Sharing/Failed to create provisioning profile - XcodeI have this error message when I try to create provisioning profile : Failed to create provisioning profile. There are no Devices Registered in your Account on the Developer website. Plug in and… 
- 
		0 votes1 answer24 viewsHow to enter a specific date in the Swift3 Calendar?I need to enter a specific date in the Calendar, but I’m only able to add values based on the current date (maybe because when I do, I give a Calendar.Current). Someone knows how to enter (day,… 
- 
		0 votes1 answer494 viewsDatabase created with Core Data on SwiftI need to create an app that is a form with basic data (name, age, email, etc.) and that saves the data for access later, but that in addition to saving in the tableView, create the database file or… 
- 
		0 votes1 answer127 viewsHow to set maximum size of 2 textfields separately (Swift)Next, I’m starting now with Swift and iOS programming. I have a question: how to validate 2 different textFields? For example, I managed with the code below to validate 1 single field, but the… 
- 
		0 votes1 answer132 viewsShare iOS textsHow do I share a text on social media on an iOS App on Swift 3? I have several Random Phrases in an array and if the person likes one I would like to let them share that phrase. How would the one… 
- 
		0 votes2 answers75 viewsHow to approach the vision of its location, and make it follow along a path?please, I am new in the area and am creating an app that will count the distance, speed, calories spent and time by the user during a run/walk. the simulator is finding the location, but the screen… 
- 
		0 votes1 answer432 viewsOpen Viewcontroller iOSHow do I make the function below (when a navigation bar item is clicked) open another screen already created on Main.storyboard? @objc func infoTapped (sender:UIButton) { }… 
- 
		0 votes1 answer43 viewsAutologin sem firebase SWIFT3 IOSI wanted to know how do I save the user information program and the same need not log in whenever minimize or close the app without using firebase. 
- 
		0 votes1 answer1138 viewsConverting String to date Swfit 3Hello, I’m trying to convert a String in Date in Swift 3. However the date is always returning me with two hours more. Below is my code. let dateFormatter = DateFormatter() dateFormatter.dateFormat… 
- 
		0 votes1 answer359 viewsSwift: change place button according to the appearance of the keyboardI’m making an app in Xcode and I would like the button, which is at the bottom of the screen, to move according to keyboard appearance. Thank you… 
- 
		0 votes1 answer246 viewsThread1: EXC_BAD_ACCESS (code=1,address=0x68)I am having this problem in ide Xcode. On line 8 the warning appears Thread1: EXC_BAD_ACCESS (code=1,address=0x68) The file . txt is in the same folder as the main. void construir1(struct elemento… 
- 
		0 votes1 answer32 viewsCan I convert an xcodeworkspace to xcodeworkspace?My project xcode was removed unexpectedly after a month because of a stupid mistake, and unfortunately I don’t have a backup. All I have is a file myprojectname.xcarchive, is possible somehow… xcodeasked 7 years, 4 months ago user117327
- 
		0 votes0 answers65 viewsError recovering data from firebase with XcodeI am error to recover information from firebase, check the codes: From what I understood in the mistakes I am doing something wrong to recover the data, must be something with the data dictionary...… 
- 
		0 votes1 answer126 viewsProblem changing screens with Navigation ControllerI have a small problem, my App uses the Navigation Controller and a View controller, I have declared trails that bridge the gap between Cells. When running the app starts in Navigation Controller… 
- 
		0 votes1 answer280 viewsImage on IOS navigation bar buttonI 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) it does not appear. override func viewDidLoad() {… 
- 
		0 votes1 answer66 viewsUpload app to Apple StoreI’m trying to upload an app to the apple store using Xcode 8, but I get the message that it’s no longer possible to upload to the apple store using Xcode 8. From what I searched, it’s possible to… 
- 
		0 votes1 answer59 viewsRemove menu navigation controllerAs I remove this gray menu from my webview I think it’s something related to navigation controller n I’m sure… 
- 
		0 votes1 answer24 viewsBlack screen when simulating application in Xcode Iphone 7 PLUSI’m trying to simulate my Ionic generated application on Xcode to take the printsscreens needed to submit for revision. When I select the iPhone 5/6 it opens normally, but when I select the iPhone 6… 
- 
		0 votes1 answer39 viewsI overwrote a follow in Swift, do I need to overwrite them all later?I overwrote a few seconds to use a viewController, where it will be dynamic and receiving the content according to the clicked menu. But the other seconds that I did not put an "identifier" stopped… 
- 
		0 votes2 answers809 viewsHow to add IOS 12.2 simulator to Xcode 10.0?I need to emulate the iphone with IOS 12.2 but my Xcode does not have this option. I saw that in Xcode 10.2 comes with IOS 12.2 but the company mac does not let install because it needs a newer… 
- 
		0 votes1 answer39 viewsProgrammatically create Entity and save to core dataHi, I was wondering how do I save an Entity in core data programmatically. I tried the following procedure: Passing parameter MatchCoreData().createEntity(name: "Partidas123") Func creating the… 
- 
		0 votes1 answer89 viewsWhen trying to install app it hangs on the message "Preparing Debugger support for iPhone"I can’t install my app on iPhone get stuck in this message: "Preparing Debugger support for iPhone" Illustrative image: I tried every answer to this question and nothing worked Following this… 
- 
		0 votes1 answer27 viewsHow to pass parameter in Nsarray in Nsurlsessiondownloadtask urlI am creating a Uitableview to load the bookmarks that are saved in Nsuserdefaults, the values are the Ids. ex. 34, 45, 55... I am creating the url and passing parameter through a Nsmutablearray.… 
- 
		0 votes1 answer137 viewsHow to get a unique device identifier from IOSIn the development to Android it is possible to define whether a smartphone is unique through your IMEI or MAC, and perhaps not the best way to identify only a mobile device, but works very well. On… 
- 
		0 votes3 answers202 viewsChange entire application font without changing the size (Swift)Boas, I wanted to find a way to change the entire app font (Swift) into a few lines of code. Right now I have extension UILabel { var substituteFontName : String { get { return self.font.fontName }… 
- 
		0 votes1 answer325 viewsInput type file in webview - XcodeI created a webview of a page that contains an input type file to upload photos, however, in Iphone webview, when I click the button to upload the photo, it opens a menu only with the option of… 
- 
		0 votes1 answer95 viewsShould I use tableview, collectionview or scrollview when dealing with vertical items that are different from each other in the Xcode?Good night, I started learning Swift a short time ago and am trying to develop an app in Xcode. Today I found the following situation: I need to make a list of information in which it is possible to…