Questions tagged as 'xcode'

1
answer

Warning in xcode constraints

I have a Button and two View inside a table (UITableView) everything is correct in all sizes of devices except that when I change the size of the device it shows me a warning of "Misplaced View" click on the UPDATE FRAMES button disappears, bu...
asked by 18.03.2018 / 02:57
0
answers

Handling custom cell constraints

I am new to objective-c, I am managing a list with custom cells which show information through several labels, I do not use autolayout for compatibility problems between old apple devices, the problem I have is that when I turn the cell phone sc...
asked by 13.03.2018 / 23:54
0
answers

Configure XCODE

I am developing hybrid applications with Ionic 3, whenever I have developed for iOS I have done it with developer accounts, either from people or from companies, but it turns out that I am now doing a personal development and I do not have an ac...
asked by 11.03.2018 / 00:54
0
answers

Compare varible swift 4

I have my Grid class, where I created a multidimensional array placeBoatRandom(currentBoat: AircraftCarrier()) placeBoatRandom(currentBoat: Destroyer()) placeBoatRandom(currentBoat: SubMarine()) func placeBoatRando...
asked by 06.02.2018 / 15:14
1
answer

retrieve the 'title' value of a button

func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { let identifier = "item" let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for:...
asked by 01.02.2018 / 12:50
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
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
0
answers

Passing data from a table view to an Xcode view controller

I'm trying to pass data already saved in a Core Data from UITableView to a view controller . The code compiles to me without error but when I execute it does not present to me in UILabel the information that it would have to send....
asked by 05.12.2017 / 03:46
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