Most voted "uitableview" questions
35 questions
Sort by count of
-
4
votes1
answer70
viewsUitableview with customized and resizable Uitableviewcell
I’m creating a chat for Ios in Objective C, and I use custom Uitableviewcell. My difficulty is in resizing Cell as the text in the chat, as the image: And this second screen, it’s like this, with…
-
2
votes2
answers371
viewsSwift Multi Selection Problem Uitableview
I have a tableView that when it is in "Edit" mode I can select each item and take an action, for example remove the selected items. When I select the items, the first ones are left without "Line…
-
2
votes1
answer74
viewsIOS - How to create Custom Cell for Tableview?
I want to make a custom cell for my Tableview. But it is presenting problems that I am not able to solve. It worked normally when I did with the standard cell, but when I did custom gave problem I…
objective-c mobile xcode uitableview uitableviewcellasked 8 years, 10 months ago CristianCotrena 1,145 -
2
votes1
answer79
viewsRandom ads between cells in a Table View
I’m trying to insert Ads totally random between cells within a UITableView. That’s kind of what I want: So is mine Table View Controller: import UIKit import GoogleMobileAds class Page1:…
-
2
votes1
answer67
viewsHow to receive data of subitens from a plist?
Good! I’m having trouble receiving sub data from my plist. Note... This is my directory.plist: I want to throw it all in this one Main.storyboard: Whereas the Keys Position and Name would be in the…
-
1
votes2
answers219
viewsSending data from one tableView to another
I would like to pass values from one tableView to another. I took a value through indexPath.Row, I would like to send the value to another tableView so that it can make a switch to appear different…
-
1
votes1
answer58
viewsHow to use didSelectRowAtIndex?
I would like to know how to use didSelectRowAtIndex, more specifically I would like to know how each Row of my UITableView calls a ViewController specifies. In my code below, in case would like each…
-
1
votes1
answer58
viewscall the properties of a Tableviewcell in a Viewcontroller
I’m trying to create a tableview with Cell dynamic according to the text inside it, and I’m trying to add the height of the label to the size of Cell but when I call the label in Viewconrtoller it’s…
-
1
votes1
answer350
viewsCan you create a table with Swift that contains multiple columns?
I need to assemble a table with multiple columns with the details of the customer’s purchase, but with the tableView I can only create tables with one column, can I use the tableView or something…
-
1
votes2
answers208
viewsSwift 3 - How to resize Uitableview automatically
How to automatically resize a Uitableview according to the amount of content in it? I want to do something like what you can do with an Uitextview: MyTextView.sizeToFit()…
-
1
votes2
answers190
viewsUitableviewcontroller with Swift and JSON Displaying repeated values
I’m having a hard time getting popular with mine UITableView with JSON. I separated some images to show the problem. Note that in the first Table Repeated values appear and next shows the same…
-
1
votes1
answer263
viewsSet invisible button after running Uitableview
I have a question in my Uitableview, I put a button on the Cell of a Tableview. cell.btnDownload.tag = indexPath.row; [cell.btnDownload addTarget:self action:@selector(btnDownloadClick:)…
-
1
votes2
answers123
viewsSearchbar shows right result, leads to wrong Viewcontroller
I’m putting together an app that shows managers on Page1 and their respective employees on Page2. I decided to mount a plist and press a Tableview, see: To load the plist correctly insert to…
-
1
votes1
answer67
viewsDifficulty loading sections in cellForRowAt
I’m having a little difficulty in implementing indexes (A through Z) in my app... See the structure below, what should I do to properly load the indexPath.section?: struct EmployeeDetails { let…
-
1
votes2
answers46
viewsReload Data in Uitableview using Firebase
I’m using a custom table that retrieves data from Firebase. But it only updates, new data, if I close the app and open again, even if entering the reloadData() on the table. Example: The table is…
-
1
votes0
answers43
viewsJavafx: Update an entire database from a tableView
Good night, you guys! I’m building a program in Javafx, but I’m still very young at it. So I have a tableview with information about students. This tableView has a "tcbCondicate" column (whether or…
-
0
votes2
answers244
viewsHow to make a Uitableviewcell work like Facebook Messenger for iOS?
How to create a UITableView, where cells keep the text bold until touched, and save this change? For example, when we receive a message on Facebook the text on UITableViewCell is in bold, after…
-
0
votes1
answer148
viewsHow to control the lines between the main Uitableview and the Uitableview of the Uisearchbar?
I am implementing a table with search field, and I am using UISearchBar. I have two variables in the app: a NSMutableArray for the original data, and other NSMutableArray for the filtered data. When…
-
0
votes2
answers460
viewsHow to Reload Data on a Tableview without Losing Previous Data (Swift)
Hello, I have a tableview that will receive data on demand. however when I call scrollViewDidEndDragging function it has a call to tableview.reloadData() it replaces the previously loaded data. Load…
-
0
votes1
answer542
viewsuitextfield check with only number
I am creating a tableview with Cells custon via xib and Uitableviewcell and I have a Cell that has only one textField and I want to do a check of number and number for that textfield but I don’t…
-
0
votes2
answers223
viewsHow to feed a tableView from a screen with information from another screen?
Good evening, I have 3 screens in my app to buy passwords, the last of them has a Windows tablet powered by the passwords purchased by the user on a previous screen. He must choose a password and it…
-
0
votes1
answer72
viewsReloaddata in Tableview loading wrong image Swift 2.0
I have a tableview inside my Viewcontroller, and do some actions on each cell like expand and delete. When I do the deletion I give a Reload in the table loading the data of a remote json, it…
-
0
votes0
answers41
viewssplit function on a label in Swift 4
Good evening, I am receiving a json from a webservice and in a given field json passes me the data separated by "|" as you can see below i need to break the line in each | of the json field. I…
-
0
votes1
answer70
viewsUitableviewcontroller cells are blank/missing when scrolling the Tableview
I’m having a problem with my tableviewcontroller, as I update some data on a textfield or roll down it goes disappearing with some cells, if I roll up and down hiding the missing cell it comes back…
-
0
votes0
answers96
viewsTableview in Uiview in Swift 2.0
I’m trying to create a table within a view. So that when the user is in view1 and presses a button open a smaller view2 inside view1 and choose one of the table data and loading transports the…
-
0
votes1
answer136
viewsPass array from one Uitableview to another Uitableview
Talk guys! I’m having a hard time getting the value of a array in a uitableview and move on uitableview. No error appears, but do not print anything on the console when accessing the next…
-
0
votes1
answer41
viewsUitableview vs Uiscrollview which is the best option - Swift
Hello, I have the following doubt, has any problem (and a good practice) I use a Uitableview to create the layout of my apps or would it be more recommended I use a Uiview with a Uiscrollview,…
-
0
votes1
answer90
viewsSwift - Activity index on Table view
I’m trying to implement a Activity Indicator about a Table View but it’s not working properly. It appears underneath the Table Cells Here is my code and the image of how the indicator appears.…
-
0
votes1
answer100
viewsSwift - Move Uitextfield up when it is inside a Uitableviewcell
Hello! I’m trying to move up a UITextField when he’s inside a UITableViewCell and the keyboard appears, but I don’t have a TableViewController. To UITableView is inside a ViewControllerregular. The…
-
0
votes1
answer37
viewsPass tableview value to tabbar
Hello, I’m developing my first app and I’m having a question. I have a tableview, and I would like her indexpath.Row to be visible in the 2 viewcontroller of a tabbar, to click on a label. I tried…
-
0
votes2
answers114
viewsTableview does not update
I am with a tableview with several times, so the user could confirm that consumed the medicine at one of the times in question, until then it is okay, only that I needed to update the tableview…
-
0
votes1
answer27
viewsPass locations and coordinates of a Uitableview to a Mapkit
This is my first App and basically consists of providing locations in a Uitable (app entry point) and consulting them in a Mapkit (Storyboard model). How can I make the call? I’m trying to use an…
-
0
votes1
answer95
viewsShould I use tableview, collectionview or scrollview when dealing with vertical items that are different from each other in the Xcode?
Good night, I started learning Swift a short time ago and am 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…
-
0
votes1
answer58
viewsSectionheader tableview Swift
I have a message tableview, I would like to know how to add sections using the date field of the Notificationitem object. struct NotificationItem: Codable { let title: String let body: String let…
-
0
votes1
answer28
viewsHow to make not all cells in a tableView editable?
I have a tableView where the user can delete the cells he selects. In my case the first cell of the tableView cannot be deleted by the user. How do I make only the first cell of the tableView not…