After appending a new cellType my locationTableViewCell is giving an error at let place = places[indexPath.row] while entering text inside the text fi ...
For this HTML / XML: I want to extract with XPath only DBS055, not the entire text. ...
I am trying to add an action to my "like" button. So that when the user taps the heart UIButton in a cell, the heart in the cell they tapped updates t ...
So my goal is to delete a firestore document if the condition is false with no errors. At first, I had this function for deleting firestore documents: ...
I posted about this at the start of the month but nobody responded and I tried to alter it myself as days went by but after reading like 20 posts and ...
I have a tableView and collectionView and to get indexPath i'm using below methods on tableViewCell and collectionViewCell (i dont want to use indexPa ...
In my swift code below each table view cell features a label. In that label I want to print the index path row. So in cell one the label should be 1 i ...
I am trying to get the indexpath of a cell for which I am using this function in my view controller. It works fine, but when I try to use the value ...
I am learning ios coding and reading a book. There is something about the indexPath of a UICollectionViewCell that I don't understand. The UICollectio ...
I want to add swipe actions to tableview cell, but when I added an image instead of background color it return a lot of images. Here is what I am tr ...
I'm having a moment of confusion and I can't solve a very simple thing. My CollectionView has 50 cells and I would like to scroll back and forth betw ...
First time I am trying to do animation. Here my task is collection of images should animate from bottom. I am trying to follow this link. In this exam ...
Hello i am i am deleting rows from tableview and its work fine for me i am successfully removed but after remove i am getting crash and error like bel ...
I have two variables that I need to compare, in order to check if an index exists in an array: indexPath.row is NSInteger [self arrayOfData].count is ...
In My Expandable UITableview number of section are 5 [SectionItems.count]. My goal is to number all cells in the sections from 1 to count of all rows ...
I have a specific scenario, when an order list (NSMutableArray) is empty and therefore the selected index (NSIndexPath) should also be empty (I'm usin ...
I have TableView with 14 cells and in each cell has a CollectionView with 25 cells, when transfer from cell number 24 to cell 25 show me crash! Te ...
I am getting widgets either textField or textView in cells of table view based on the provided elements in the array widgetInstockArray. And getting p ...
I'm trying to work out how to amend insertion indexPaths in a collectionView for a peformBatchUpdates function using .map Say I have items 1 2 3 4 5 ...