Questions tagged as 'xcode'

1
answer

Change color of tab bar items not selected

I wonder if someone knows how to change the color of the items in the tab bar in ios 9, now with the following code only the selected one is marked. UITabBar.appearance().tintColor = UIColor.whiteColor() UPDATE SOLVED I found a way to...
asked by 11.08.2016 / 10:22
2
answers

Problems with getting files created in Swift 2

I am saving an image in a directory but when I go to access it returns that the file does not exist and checking the route I find that part of it changes every time I access the attached route example: / Users / mac / Library / Developer / Co...
asked by 13.06.2016 / 21:58
1
answer

Constraints do not fit on different screens

Good, I have a small problem. In StoryBoard I have designed the screen with the option Use Auto Layout deactivating the option Use Size Classes I added the necessary constraints and in the screens of 5.5 it looks great adjus...
asked by 21.01.2016 / 17:35
0
answers

Textures are not displayed in OpenGL

I have a problem. I'm using Xcode and OpenGL for a graphing project. I find the following problem: The images are not shown on the screen. Only the picture where I want to place the texture is drawn. My code is as follows: Header: Image.hp...
asked by 26.03.2017 / 06:15
1
answer

JSQMessagesViewController And GeoFire are not compatible?

I am working on an application in Xcode with Swift 3 for IOS where I am using GeoFire to know the location of the users but when I try installing the JSQMessagesViewController pod in my project I get an error with GeoFire:    "Firebas...
asked by 22.02.2017 / 21:45
1
answer

Help with JSON to convert it to Array

I would like to know how I could receive a Dictionary and turn it into an Arrangement of type Classes. The dictionary is received in Json and I download it with alamofire. What I would need help with is to create the function that converts me to...
asked by 03.04.2017 / 04:06
1
answer

Create a framework in Swift for Device / Ios Simulator

Good afternoon, I have managed to generate a small example framework in swift but it only lets me run it if I deploy it in a Device, I have read that if you generate the framework with the selected simulator you could then execute that framework...
asked by 21.03.2016 / 17:55
2
answers

enable or unhide a button in swift 3

I have several buttons inside a view controller, but there is one of them that I want to be disabled if in a textfield there is no written value. If any value is written, it must be re-enabled. import UIKit class AreaOfAnIsoscelesTr...
asked by 02.08.2017 / 01:16
2
answers

Connect menu of 5 buttons to a view, with a single segue

How to use a single segue (1 segue for 5 buttons) instead of 5 segues (1 per button) leaving only one, which contains all the IBAaction and takes you to the other view depending on what you press, the content in the other view is presented in on...
asked by 11.08.2017 / 23:50
1
answer

UITableView separation between Swift cells

I have the following UITableView I would like to be able to add spaces between each cell My Swift code // MARK: - Table view data source func numberOfSections(in tableView: UITableView) -> Int { return 6 }...
asked by 05.04.2018 / 22:00