Questions tagged as 'swift'

1
answer

Access from one UIViewController to another UIViewController without segues

I have a UIViewController called AController . This displays a second UIViewController called BController , but does so in modal format - overCurrentContext . BController has 3 buttons, each one leads to...
asked by 30.01.2018 / 13:01
1
answer

Deactivate items in UICollection View

I have a UICollectionView where buttons are created func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { return (self.myGrid!.HEIGHT * self.myGrid!.WIDTH) } func collectionVi...
asked by 06.02.2018 / 19:01
0
answers

Error with Google Maps sdk in Swift

I have the Google Maps app in swift but I have an error: This is my code: @IBOutlet weak var mapa: GMSMapView! let camera = GMSCameraPosition.camera(withLatitude: lat, longitude: lon, zoom: 14) let mapView = GMSMapView.map(withFram...
asked by 24.01.2018 / 11:43
2
answers

help with the constrains in a table view in swift 4

I have the following problem with tables I'm creating a custom table view I added an image and a title I'm uploading the images from a class and I load all the image well and the title but when viewing it in the simulator it looks like this:...
asked by 22.12.2017 / 04:03
1
answer

How to delete row in tableView with CoreData data

I'm making an app that stores information in CoreData and shows it to the user in a table. I added the function of deleting rows when swiping, but I am having problems to achieve the result. My code is this: override func tableView(_...
asked by 21.12.2017 / 12:04
1
answer

instantiate class to access properties from another SWIFT class

Look, I have time looking for how to instantiate class to access properties ... I've seen everywhere that they do this ... let vc = otroViewController() vc.label.backgroundColor = UIColor.black // por ejemplo una etiqueta para cambiar su f...
asked by 09.12.2017 / 01:11
1
answer

How to overcome a uiview in swift

I have a uiview and inside the uiview a tableview, try to do something like this: link What happens is that when I click on the uiview, it also clicks on the tableview cell, which I could do so that by clicking on the uiview, I just click o...
asked by 30.11.2017 / 01:38
1
answer

How to decrease zoom in iPhone simulator in Xcode

I'm starting in Xcode programming and I found that I can not decrease the simulator zoom since I have a Mac but as a monitor I use a LG so the simulator does not show completely in the screen.     
asked by 28.11.2017 / 01:31
0
answers

UISearch with MVP

I have a question about this architecture and it is the following: If the logic has to be in the Presenter, but in the case of the search filters for example, it is advisable to implement the logic of array.filter {} within the same viewc...
asked by 22.11.2017 / 11:48
0
answers

SWIFT Scrollview in a view to select multiple horizontal images

I hope someone helps me, I have a scrollview to select an image, and as it is common to pass the selected image to the view and the others are not seen, I would like to have the collection of images in the same view and be able to select one but...
asked by 07.11.2017 / 16:55