Questions tagged as 'xcode'

2
answers

Center Map on iOS in Swift

Hi, I'm doing a tourism application in which there are several cabins, places to eat and visit in this case, each one has a button that goes to a single map in which there are markers to show the location, and I need the center of the map load d...
asked by 22.08.2016 / 17:51
1
answer

Problem with object in Nsarray

What I want to do is just grab the idCategoria of the object to be able to use it in another query but it marks the following error:    can not convert value of string to expected argument to int let objeto = values["idCategoria"] p...
asked by 03.08.2016 / 20:02
1
answer

Start IndexPath from one

I need to start it from one to show the corresponding data of the BD func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { vcName = values[indexPath.row]["idCategoria"] as! String print(vcName) /...
asked by 05.08.2016 / 17:37
1
answer

You can create an AccountManager in IOS and Swift 2

In android you can create application accounts in the phone to save session data when a user is authenticated or logged into our example app: AccountManager. Can this be done on iOS? Or is there something similar?     
asked by 02.06.2016 / 01:58
0
answers

Create account on the device

Good afternoon I am creating an app in swift 2 and I need to create a session start account on the device to store some data, someone could guide me in creating a class called ACAccountStore but I really have no idea how is used and searched in...
asked by 07.06.2016 / 18:37
1
answer

Place name on image

Good afternoon in my app I take a photo with the camera and then I keep it in the camera's photo album, but it saves it with a name by default I would like to know how to put the name I want to the photo, The code that I have when I save the ima...
asked by 08.06.2016 / 00:23
1
answer

Compile .h depending on the target that is running

I have two .h in my project with the same auto-generated name. Does anyone know how to compile one or the other depending on the target that is executed? It is imperative not to change the name of .h     
asked by 01.03.2016 / 14:43
2
answers

I do not see the xcode simulators

hi, a few days ago download the xcode 8.0, and had all the simulators at my fingertips until iphone 7 plus, but as where I have an older version of xcode I was forced to download the version 7.3.1 of internet , therefore keep both xcode, b...
asked by 31.10.2016 / 20:24
2
answers

I can not put the button as setEnable: NO

I have an interface with a button that shows an image when it is active and another when it is deactivated. When I start the view, the button always appears as activated, although in the viewDidLoad I do a [self.button setEnabled: NO] If a...
asked by 05.01.2017 / 14:55
1
answer

Make an image to be circular in Swift

How about, I'm working with a project in Xcode and I want to know how to change the style of an image so that it shows circular.     
asked by 20.02.2017 / 22:35