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
-
1
votes0
answers23
viewsXCODE Instruments app Launch does not appear app life Cycle
I was watching the WWDC 2019 and when it uses the Instruments to check the weather in ms Open the app and show information from the Life App on track, But when I’m going to do this in a demo app for…
xcodeasked 3 years, 4 months ago Andre Firmo 43 -
0
votes2
answers227
viewsSplash screen while receiving web service data
Hello! I have a following problem: I need a splash screen that stays on the screen while the app receives the data from the web service to popular a BD sqlite on iPhone. I tried to use the Xcode…
-
0
votes1
answer63
viewsPing with Objective-C
Does anyone have a ping test class in Objective-C? I tried several and could not with any. I just need to take the IP and do the test, if "drip" perform the action, against, just send an…
-
0
votes1
answer81
viewsindexPath does not match the content in tableView
I’m carrying a tableView from a array laden with arrays, this whole charging process is working perfectly, however, when I update the tableView (reloadData) with the same information and I have the…
-
0
votes1
answer89
viewsLoad Uiviewcontroller
I have a Uiviewcontroller with the black Background where would be my main Uiviewcontroller (where is the menu and etc) and I do this: CredenciaisViewController *obj = [self.storyboard…
-
0
votes1
answer67
viewsHow can the current Uiviewcontroller know which "Called" button?
I have a doubt and the scenario of the question is as follows: I am on the main screen of my app and have 2 buttons (UIButton), each takes to another screen. After the user has chosen a button and…
-
0
votes3
answers408
viewsXcode does not create storyboard
Someone knows why my Xcode when creating a single view Aplication, it does not create the storyboard, I’m starting now and in class the screen iphone app is made there, but in my appears only a main…
-
0
votes1
answer44
viewsMapkit - Is there any way to locate friends within this tool?
I already use mapkit for development on iOS, but I wonder if anyone knows how in the code to add friends, show on the map other people nearby. PS. or even an example code for this function, thank…
-
0
votes2
answers93
viewsAdapting iOS 7 Code to iOS 8
Currently I am with the iOS 7 library and I intend to update my library to iOS 8. I would like to know what will be the impact of this update on the projects I already own. I’ll be able to support…
-
0
votes1
answer51
viewsTransform Uiimage into Byte Array
I need to transform an image into an array of bytes, as I do to transform this image into an Array Bytes?
-
0
votes0
answers64
viewsMenu Slider programmatically
I’m creating a menu programmatically, I instate the menu in my home and when I click the button that will pull the menu, the menu appears but I can’t interact, I can’t click the cells, who is with…
-
0
votes1
answer265
viewsXcode function library (Objective-C)
I need to create a function library in Objective-C. The idea is to create something more or less like the function library Math. h. That is, it is not necessary to instantiate the class to use the…
-
0
votes1
answer38
viewsuitextfield - Position cursor during editing
I am doing a treatment for Uitextfied editing to format text as decimal with decimal separators and thousands. My question is how to always position the cursor in the right corner of the text field?…
-
0
votes1
answer77
viewsError while using Sttwitter and Swifter
I am trying to use one of the two libraries Sttwitter or Swifter in my project but always error. In the case of Sttwitter the error is in the method call getUserTimelineWithScreenName:(NSString…
-
0
votes0
answers41
views -
0
votes1
answer403
viewsFatal error: unexpectedly found nil while unwrapping an Optional value
I got the following error message: Fatal error: unexpectedly found nil while unwrapping an Optional value In the following code snippet: // Lê uma coluna do tipo String no (BANCO DE DADOS) func…
-
0
votes2
answers198
viewsButton with link to a website
Could you help me make a button with a link to a website? It’s an iPhone app and I’d like you to press a button and open the site in Safari (for example).
-
0
votes2
answers106
viewsXcode cannot find button
I created a button on storyboard to connect to a viewController. When clicking on the button occurs the error: thread 1:Signal SIGARBT What could be causing such a mistake? I’ve seen many tutorials…
-
0
votes1
answer193
viewsUsing the camera
I am implementing a screen that I would like to show the image of the camera, but I would just like to show the image, not with features of switching to front camera, cancel, and capture. Is there…
-
0
votes2
answers460
viewsHow to Reload Data on a Tableview without Losing Previous Data (Swift)
Hello, I have a tableview that will receive data on demand. however when I call scrollViewDidEndDragging function it has a call to tableview.reloadData() it replaces the previously loaded data. Load…
-
0
votes3
answers392
viewsImport a Swift into another Swift
I want to import a Swift file into another Swift file, how to proceed ? Using Xcode 7.0 beta 3 via Swift 2 in an unsuccessful attempt…
-
0
votes1
answer43
viewsError creating Tabbarcontroller at runtime
I’m having a problem creating a Tabbarcontroller at runtime in objective-c, when I call the method that creates the tabbar an error occurs: Thread 11: EXC_BAD_ACCESS(code=1, addess=0x3000000c) I…
-
0
votes1
answer36
viewsGet values from fields of a Nsarray with Coredata content
I have a table on coredata with some fields, I can get the size of these values but I need the values of each field, I have this code: var request:NSFetchRequest = NSFetchRequest(entityName:…
-
0
votes1
answer542
viewsuitextfield check with only number
I am creating a tableview with Cells custon via xib and Uitableviewcell and I have a Cell that has only one textField and I want to do a check of number and number for that textfield but I don’t…
-
0
votes1
answer186
viewsInvoke touchInside method via SWIFT programming
Good evening guys, my doubt can be simple for many more I’m having a little trouble to solve the same. Come on !!! I created a button (Uibutton) and would like to know how I invoke an action when it…
-
0
votes1
answer142
viewsHow to use a user’s information in the mysql database on a label? iOS
I’m developing an iOS app that connects to the mysql database and logs in the user using the email and password information, this part is working well. Now I’m wanting to take other information from…
-
0
votes1
answer181
viewsHow to load data from a specific mysql user in Xcode?
My code is working, I’m getting the data I need, but I have to write the email of the user who wants the data in my php file. I wanted to receive user data that email is typed into a textField in my…
-
0
votes1
answer46
viewsAmendments with IOS 9
I was programming using the language Objective-C and when the update of Xcode 7 there were some errors in the language, one of them is in the file AppDelegate.m: (NSManagedObjectContext…
-
0
votes2
answers67
viewsParse’s design with black stripes
I’m using the Parse.com project in version 7 of Xcode, however, the app gets a black belt at the top and another at the bottom as shown in the image: I’m using the Swift version of the project.…
-
0
votes2
answers208
viewsLabel Position - Swift IOS
Good evening folks. How do I leave the label that is informing the current weight positioned below the progress bar cursor ? To make this progress bar I am using Gradientslider…
-
0
votes1
answer93
viewsAuto layout does not work in Xcode 7
I opened my project which was in Xcode 6 in Xcode 7 and the auto layout (for different devices) is not working in the simulator. Below I put a simulator image on iphone 4s and another on iphone 6.…
-
0
votes3
answers119
viewsMigrate JSON request from android to Swift
I’m having a problem migrating a code from an android app to a code in Swift. This code is responsible for authenticating the user and password of an application. I am unable to run Swift 2 on Xcode…
-
0
votes1
answer91
views -
0
votes1
answer110
viewsGet widget index on Swift
I’m trying to use the method index to know the index of an object within the array but do not know which parameter(s) to pass. My code: /// Struct that define the track model struct Track { let…
-
0
votes1
answer53
viewsHide Rows from a pickerview when selecting an item from another pickerview - Swift
I created a pickerview using a multidimensional array, I would need to hide some items from picker4 after I selected the first item of picker3. class ViewControllerEspessuras: UIViewController,…
-
0
votes1
answer309
viewsSymmetric Swift encryption
I’m new to Swift, and I’d like to encrypt a string, using some symmetric encryption algorithm so that it’s possible with the same decryption key. I would like to know how this can be done in the…
-
0
votes1
answer50
viewsHow do I get a JSON and store in a list?
I would like to receive a JSON that contains several messages and stores it in a list that contains one JSON content per position The JSON format would be this: [{"id":"42","data":"02\/12\/2015…
-
0
votes1
answer85
viewsHow do I execute code with closed or minimized application?
I want to run code that keeps the screen always lit, it already works perfectly when I am inside the APP, however, if I minimize or close it, stop working. OBS: I am using Uikit.framework code that…
-
0
votes1
answer187
viewsNavigation bar some no Xcode com Swift
I am making an application in Swift in Xcode 7.2.1, I am using navigation controller in this application. I created the tabs using push, until then the navigation bars were appearing at the top. But…
-
0
votes2
answers72
viewsHow to prevent the screen from rotating?
I’m making an APP and would like the screen to always be in Portrait. I looked it up online, but I couldn’t find out. I tried using the Uiinterfaceorientation framework Uikit, but it did not work.…
-
0
votes0
answers35
viewsRemove cocoapod plugin from Xcode
I installed the Alamofire plugin to perform some tests. Now I would like to remove it to continue my project. I already removed it from the Podfile file and executed the command: pod install I…
-
0
votes0
answers244
viewsXcode - App installation failed: An Unknown error has occurred
I upgraded the Xcode to version 7.2 (7C68). After the update I can no longer install the project under development for testing on my iPad. This message appears: App installation failed: An Unknown…
-
0
votes1
answer318
viewsIOS - How to program navigation between Viewcontroller in Objective-C?
I want to navigate between the Viewcontroller of an app by clicking on a button and switching from one to the other for example. But I didn’t want to do it by . storyboard, I want to do it directly…
-
0
votes0
answers72
viewsPick new coordinates whenever the user moves the marker
The application is already picking up the correct user location, but I wanted if the user moved the marker to another street, the application to pick up this new coordinate. Follow the code below…
-
0
votes0
answers168
viewsError to publish app to Apple - Xcode
Guys, I’m trying to publish an app on apple developed with Cordova, at the time I try to send the application using Xcode 7 appears this error here: I already google a solution, but I was not…
-
0
votes1
answer123
viewsIOS - how do I find the screen size of the user’s device?
I wonder if there is a way to find out the screen size that the user is using or the model of your iPhone via Objectice-C.
-
0
votes2
answers300
viewsProblems getting the layout right in the Xcode
I’m having difficulty with the following question. The blue button in the image below has to be at the height of the woman’s waist as it is on the storyboard, but it has to be on all iPhones (4"…
-
0
votes1
answer127
viewsDisplay alert if not connected to the internet
How do I display an alert for the user if they are not connected to the internet?
-
0
votes1
answer348
views"OK" button in warning message -
Can someone help me What is the correct way in Swift 2? asks to remove "Let okAction", but then I lose the reference and the alert is no button. Let okAction = Uialertaction(title: "OK", style:…
-
0
votes2
answers70
viewsPicker View - Display an Imageview according to the sum of values
Hello. I’m trying to work with Picker View to display a combination of values. var pickerDataSource = [["a", "b", "c", "d"],["1","2","3","4"]]; Doubt is; how are results within a condition? if(row…