Skip to main content

All Questions

Tagged with
-1 votes
1 answer
52 views

Customised UITableViewHeaderFooterView registering causes crash

Created a custom UITableViewHeaderFooterView: class TableSectionHeader: UITableViewHeaderFooterView { let title = UILabel() override init(reuseIdentifier: String?) { super.init(reuseIdentifier: ...
swainwri's user avatar
0 votes
1 answer
42 views

Crash when scrolling a UITableView after applying mask to an image

I am applying a mask to an image in a custom table cell. The mask works correctly but as soon as I scroll the table I get a Fatal error: Unexpectedly found nil while unwrapping an Optional value on ...
Eatton's user avatar
  • 577
0 votes
0 answers
49 views

How to change a label to a saved realm swift data value

I was able to save and even register saved data from Realm swift, however I was struggling to understand how to be update data using those saved values. In my code I have a didselectrowat instance ...
user avatar
0 votes
2 answers
79 views

How do I make a button reference that stops multiple items being ticked at once?

I have tried multiple different methods to try and make a method that stops my button from being ticked multiple times at once. In the "selectButton" action, I'm looking for a method that ...
user avatar
0 votes
1 answer
393 views

How to Pause the video when scrolling and Play a video when cell is visible on the screen Swift

I have a table view cell for vertical listing and have added a collection view in a horizontal playlist. I want to implement video playback similar to the YouTube app. Specifically, I aim to have the ...
Sham Dhiman's user avatar
  • 1,576
0 votes
1 answer
54 views

How can I slowly scroll up and down my table view from a background thread?

I am trying to figure out how I can scroll through my tableview through a background thread in xcode/swift. Here is the code I have so far: func startBackgroundScrollingThread() { DispatchQueue....
Ely Jacobi's user avatar
0 votes
1 answer
43 views

How do I properly design my own custom table cell?

I designed a special table cell, but when the application runs, its display is broken. How can I set this. (I'm new to iOS development) Thank you :) My cell design enter image description here ...
BurakEryvz's user avatar
0 votes
0 answers
53 views

How can we saving TableViewCell values into next listView of an TableViewController?

I just wanna know that how from an ViewController having the TableViewCells to be saved to next TableViewCell of TableViewController to see as listView. here below I have posted an image of what I ...
VizVyz's user avatar
  • 73
-1 votes
1 answer
290 views

How do I add a typing animation to the text in my UITableViewCell?

I haven't worked with UITableViews before, and so I'm new to the animation effects you can have with UITableViews and UITableViewCells. Though, I'm not deterred. So how would I go about coding a ...
nascent_swifter's user avatar
0 votes
0 answers
492 views

iOS 16.0 or Higher Crash: UITableView Class - Internal Inconsistency Fatal Exception

I hope you're doing well. I wanted to bring up an issue I recently encountered in a live build. Some users have reported experiencing the following problem, primarily on devices with iOS version 16.0 ...
PM.'s user avatar
  • 11
1 vote
1 answer
182 views

how can I correctly get the tableCell value to next tableCell

I'm new here and new to swift .now I'm creating an invoice app so I need to display the invoiceViewController in next ViewController but the cells for the bills in invoice are not coming correctly to ...
VizVyz's user avatar
  • 73
-1 votes
1 answer
76 views

Fixed Height for Navigation bar on UITableView scroll

Problem: I would like the navigation bar and large title to remain fixed when scrolling the tableView. How can I set it programmatically so that when the tableView is scrolled the navigation bar does ...
husharoonie's user avatar
1 vote
0 answers
551 views

Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 428.667]

I am getting CALayer NAN crash. I have a scroll view, two textfields (let's say A and B) inside and inside of the scroll view below the two textfields, I have a tableView which is going to add ...
Shruti Suryawanshi's user avatar
0 votes
1 answer
300 views

Swift limit number of rows in section & extend limit once bottom reached

Problem: I would like to limit the amount of cells shown. For example, 100. Once the tableView has reached the bottom I would like to extend that limit further since the data is already there, I do ...
adalovelacy's user avatar
0 votes
1 answer
46 views

UITableViewCells deselecting themselves when UISearchController activated

I have a UITableView with checkable cells. This functionality works great. Unfortunately, when I attempt to use my UISearchController to filter for a specific cell, any cells that were checked uncheck ...
Christian W's user avatar

15 30 50 per page
1
2 3 4 5
336