Top "Nsindexpath" questions

The NSIndexPath class represents the path to a specific node in a tree of nested array collections in Objective-C. This path is known as an index path.

tableView section headers disappear SWIFT

I have a tableView set up so that when a cell is touched, it expands in height to reveal more …

ios uitableview swift header nsindexpath
Creating slow scrolling to indexPath in UICollectionView

I'm working on a project where I'm using a UICollectionView to create an 'image ticker' where I'm advertising a series …

ios scroll uiviewanimation nsindexpath uicollectionview
Check whether cell at indexPath is visible on screen UICollectionView

I have a CollectionView which displays images to the user. I download these in the background, and when the download …

ios swift uicollectionview uicollectionviewcell nsindexpath
How can I keep track of the index path of a button in a table view cell?

I have a table view where each cell has a button accessory view. The table is managed by a fetched …

iphone cocoa-touch uitableview nsindexpath
didSelectRowAtIndexPath returns wrong IndexPath

I have encountered a really puzzling bug. The first row of my UITableView returns 1 and the second one returns 0 in …

iphone objective-c uitableview didselectrowatindexpath nsindexpath
delete section at indexPath swift

I have an array which populates a table view - myPosts. The first row of the table view is not …

ios arrays swift uitableview nsindexpath
UICollectionView reloadItemsAtIndexPaths

I've been trying to wrap my head around the reloadItemsAtIndexPaths method of UICollectionView. I have an array of objects called …

xcode pagination uicollectionview nsindexpath
How do I get specific values from a NSIndexPath

I have a NSArray with NSIndexPaths inside of it NSArray *array = [self.tableView indexPathsForSelectedRows]; for (int i = 0; i < [array …

objective-c uitableview nsarray nsinteger nsindexpath
UICollectionView indexPathsForVisibleItems don't update new visible cells

I have a ViewController with a CollectionView inside. When the view loads, the visible cells (9 cells) are shown correctly. When …

ios uicollectionview nsindexpath
How to get number of rows in NSIndexPath section

I want to get the number of rows in an NSIndexPath section. For all my searching here & in Apple's …

objective-c ios nsindexpath