Questions tagged as 'uitableview'

1
answer

UITableView vs UiScrollView which is the best option - Swift

Hello, I have the following doubt, there is a problem (and a good practice) I use a UiTableView to create the layout of my apps or it would be more recommended I use a UiView with a UiScrollView, considering that these layout may or may not cont...
asked by 16.08.2018 / 23:56
1
answer

UITableViewController cells are blank / Somem when scrolling to TableView

I'm having a problem with my tableviewcontroller, as I update some data in a textfield or roll down it goes away with some cells, if I scroll up and down hiding the cell that disappeared it appears again as if I have reloaded, I tried to reload...
asked by 06.07.2018 / 18:22
0
answers

split function on a label in swift 4

Good night, I'm getting a json from a webservice and in a given field json gives me the data separated by "|" as you can see below Ineedtobreakthelineineach|ofjsonfield.IwasabletousethesplittoprintontheseparateconsolebutIcannotgettothetablev...
asked by 12.04.2018 / 05:48
1
answer

Should I use tableview, collectionview, or scrollview when dealing with vertical items different from each other in XCode?

Good evening, I started learning Swift a short time ago and I'm trying to develop an app in XCode. Today I found the following situation: I need to make a list of information in which it is possible to scroll down, in addition to being able t...
asked by 15.04.2018 / 01:45
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
1
answer

Passing places and coordinates of a UITableView to a MapKit

This is my first App, and basically consists of making locations available in a UITable (app entry point) and querying them in a MapKit (StoryBoard model). How can I make the call? I am trying to use an NSDictionary for the values in the tabl...
asked by 02.02.2017 / 18:55
2
answers

TableView does not update

I have a tableview with several times, so the user could confirm that I consumed the medicine in one of the schedules in question, so I just needed to update the tableview after user confirmation and remove that time from the list , I tried the...
asked by 01.11.2016 / 15:41
1
answer

Add the view of a UIViewController as a subview of a UITableViewCell?

I'm trying to create a simple table, and in a cell the content should be the view of a UIViewController, which has another UITableView. But the cell goes blank, I tried several different ways. But I did not find a solution. Below my last t...
asked by 10.08.2016 / 00:39
1
answer

Swift - Move UItextField up when it is inside a UITableViewCell

Hello I'm trying to move up a UITextField when it's inside a UITableViewCell and the keyboard appears, but I do not have a TableViewController . The UITableView is within a% regular%. The code below works well fo...
asked by 24.05.2016 / 22:03
1
answer

ReloadData in TableView Loading Wrong Image Swift 2.0

I have a tableview inside my ViewController, and I do some actions in each cell like expand and delete. When I do the deletion I give a reload to the table loading the data of a remote json, it proceeds with the deletion normally however the...
asked by 29.05.2016 / 16:30