Questions tagged as 'xcode'

0
answers

Error retrieving data from firebase with xcode

I'm having trouble retrieving information from firebase, see the codes: From what I understand in the errors I'm doing something wrong to recover the data, it must be something with the data dictionary ... I'm adding without error: To add...
asked by 05.05.2017 / 21:06
2
answers

How to approach the view of your location, and make it follow during a journey?

Please, I'm new to the area and I'm creating an app that will tell the distance, speed, calories spent, and user time during a race / walk. The simulator is finding the location, but the screen does not follow the walk, besides the view from...
asked by 10.04.2017 / 16:57
1
answer

How to show a description of the method in the auto-complete of Xcode?

I'm developing a Framework and would like it when the user types themselves and the auto-complete would suggest the method, below / above would appear to what it does. Type this: I thought it was just like this: /** * <Descrição a...
asked by 24.03.2017 / 18:48
1
answer

Keychain Sharing / Failed to create provisioning profile - xcode

I'm getting this error message when I try to create the provisioning profile: Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register...
asked by 15.03.2017 / 00:05
2
answers

SearchBar shows right result, leads to wrong ViewController

I am putting together an app that shows the managers on Page1 and their respective employees on Page2. I decided to mount it on a plist and load it into a TableView, see: Toloadtheplistcorrectly,IinsertedthefollowingcodeintoAppDelegate:class...
asked by 08.04.2017 / 03:22
2
answers

How to test an application without registration?

I am a registered Apple developer (but not paid), how can I test my application on my iPhone? It gives an error when I ask to open it on the iPhone. I'm trying on iOS 9 with Xcode 7. When I tried it it gave problem, now the iphone says I can not...
asked by 18.09.2015 / 14:32
1
answer

Migration from Alamofire 2 to Alamofire 4. Extra Argument in call (Request)

When I made the requests to the server I used the following code let URL = Foundation.URL(string: "http:....")! let mutableURLRequest = NSMutableURLRequest(url: URL) mutableURLRequest.httpMethod = "POST" let parameters = ["UserName": "Teste"]...
asked by 12.01.2017 / 11:08
1
answer

JSON object with Array. Migration from swift 2 to swift 3

Previously in my app when I was making 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 = response.result.value{ if JSON.count != 0{ let errorLi...
asked by 18.01.2017 / 16:38
0
answers

Help with adjustsFontSizeToFitWidth?

When using the adjustsFontSizeToFitWidth in the second outlet I get error. Does anyone know how to fix it? Note: The second view controller is like the first, in the same class! import UIKit class ViewController: UIViewController {...
asked by 30.11.2016 / 00:00
2
answers

Image is stretched when I turn a page in Pageviewcontroller

Hello, I'm new to Swift and I'm not understanding why the image stretches when I turn a page using PageViewController as I'll show in the image below: This image is normal, that's when I have not turned the page yet. Butnowistheimageof...
asked by 25.11.2016 / 15:09