iPhone keyboard's return key will move cursor to next textfield

I have a TableViewController that is using a grouped Style and has two(2) sections. The first section has 4 rows and the second section has 3 rows. I have placed a UILabel and a UITextField in...

pyqt - Change row~cell color in TableView

I have a QTableView with three columns The second column is about numbers, there are only three types: 1, -1 and 0. I want to have different colors for this three "types" of numbers (1,-1,0),...

"Attempt to insert row 0 into section 0, but there are only 0 rows in section 0 after the update" Error

I have an app that is selecting a person from their contacts list and takes their First name, last name and email. It then saves the first name to a nsmutablearray and puts it into a uitableview...

Javafx tableview not showing data in all columns

OK, new to java by several weeks, but have been programming for 30 years. The following code executes, but only the first column is showing anything. The data object is showing multiple rows of...

Initial size of Text Field is wrong (NSTableView)

I have a single column NSTableView (view based) with a TextField. I am using autolayout and IB. Most of the views in the window are resizable, in particular the table. I am putting attributed...

UITableViewHeaderFooterView remove transparency

I've done some searching, and a lot of answers are saying that I need to create a custom UIView and stick it in to the UITableViewHeaderFooterView. At the moment, I'm setting the appearance in the...

Not Enough Cell to Use in UITableView

I have created a UITableView in Storyboard and it is dynamically cell. The problem is that when there are not enough cells to reuse, it randomly empties a few of my cells. I think this is logical,...

custom UITableviewcell height not set correctly

I explored the existing Q&As on SO about this question but did not find my answer. I know this is caused by tableview not knowing the height of the custom cell at run time,but not sure how to get...

Repeating images when scrolling in UITableView Swift

EDITED CODE FROM BELOW ANSWER WHAT I WANT The images are correct size and show in the correct positions WHAT I GET A bunch of images showing up everywhere randomly when I scroll I have looked...

Swift - Adding a checkbox to every cell in the tableView

I've already made a table view which allows the user to add tasks to the table view, but now I need to add a checkbox in front of each task, so that the user can select which tasks she/he wants to...

How to get all Events out of a Calendar (Swift)

I am kinda new to Swift, but really interested. I would like to get all the events I stored in a Calendar called "Work" and show them in a tableView. I was looking for questions like this, but...

Populate UITableView with Dictionary data (Swift)

I'm making an social networking app with a NodeJS backend. The app gets its data from the MongoDB associated with the Node app with a GET request. I have figured out how to parse the JSON returned...

swift ios add infinite scroll pagination to uitableview

I wonder if tableview has any built-in function to add infinite scroll/pagination. Right now my VC looks like this: var data: JSON! = [] override func viewDidLoad() { super.viewDidLoad() ...

How to remove the bottom line of UITableView in iOS

Whenever I create a tableView,there will be a line at the bottom of the last cell,is there a method to remove it?I don't use the Xib or Storyboard,so please show me the code.Thank you very...

Weird issue: UITableViewCell would not detect touch although it's accessory view does

I have a very simple UITableView with a UITableViewCell in it. DataSource and Delegates are correctly set up. It shows data correctly. But the tableview's cell is not responding to touch. Although...

Comparing instances of UITableView in swift

I am new to iOS, swift. To compare instances of classes in swift we have to conform Equatable protocol and add == method. But when we use two tableviews in UIViewController we compare tableviews...

the class is not key value coding-compliant for the key tableView

In the StoryBoard I have one scene contains some TextFields, buttons and a UITableView. an instance of the UITableView is declared in the header file, but when I tried to access the method...

images repeating cells when scrolled in tableview

images are not showing properly in tableview , I have two Json Api (Primary/high) school. I can append the Both Json api Data and display into tableview, tableview working fine it's showing...

Add switch in UITableView cell in Swift

How can I embed a UISwitch programmatically in a tableView cell in Swift? I'm doing it like that let shareLocationSwitch = UISwitch() cell.accessoryView = shareLocationSwitch

Label of custom UITableViewHeaderFooterView cut off

I have a tableView with custom section footers. Each footer has a label that is supposed to display multiple lines of text. In some labels, my text gets truncated and I would like to know how to...

Insert row in JavaFX TableView and start editing is not working correctly

We are running a JavaFX application that contains some editable table views. A new requested feature is: a button that adds a new row below the currently selected one and immediately starts to...

Radio Button using swift4 in iOS

I want to create multiple choice question app in which i want to display four options with one selectable answer using radio button but I am not able to understand how to do it using array , Any...

Swift - Populate uitableview with dictionary of [String: [String: String]]

I'm new to Swift, and I am currently creating a diary app that asks the user questions. I'm storing the user's input like this: dict = ["date": ["question1": "answer", "question2":...

Programmatically display child ViewController of TabBar element (and pass data)

I want my users to be redirected to a specific view controller when they click on a notification. The view controller they are redirected to depends on the notification data. I am using FCM so I...

JavaFX PropertyValueFactory is not able to retrieve property

Summary: I am trying to add/reload data from an ArrayList to a TableView by pressing a "Reload Button" (currently I am just testing it with one column of the TableView) . Because TableView...

How to check if an observable is empty in RXSwift?

i have initialized an empty observable like this: var subCategories = Observable<[String]>.empty() How can i check if the observable is empty or not? I would like to show a "empty view" to the...

Does iOS 13 - UIMenu have a bug that doesn't show its image?

Paste the following code into a project: No image shows next to 'Device Honey' ie the UIMenu However the image shows up next to 'Copy' ie the UIACtion. Am I doing something wrong? If this is a...

UITableViewDiffableDataSource with different objects

I am currently facing troubles using UITableViewDiffableDataSource. I would like to give a shot to this new feature, so I went on many tutorials on the net, but none of them seems to answer my...

How to create filter rows for Qtableview with using QSqlTableModel.?

Is it possible to create row filter for Qtableview with QSqlTableModel. I am sing " QSqlTableModel" to show the data on Qtableview from SQLite thats working. But i am trying to filter rows. When i...

TableView with Diffable DataSource on MacOs

I am writing an application using MacOs Big Sur with Xcode 12.2. I am trying to implement a table view for a contact list (from examples on the internet). Most of the code is for IOS en hard to...