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.

How to create NSIndexPath for TableView

I need delete row 1 of a table in a function I have defined. In order to use deleteRowAtIndexPath you must …

ios iphone uitableview nsindexpath
How can I get a uitableViewCell by indexPath?

How can I get a UITableViewCell by indexPath? Like this: I use the UIActionSheet, when I click confirm UIButton I …

iphone uitableview nsindexpath
Refresh certain row of UITableView based on Int in Swift

I am a beginning developer in Swift, and I am creating a basic app that includes a UITableView. I want …

ios uitableview swift nsindexpath
Get Selected index of UITableView

I want to have selected index for UITableView. I have written following code: NSIndexPath *index = [NSIndexPath indexPathForRow:1 inSection:0]; [tableView scrollToRowAtIndexPath:…

ios objective-c iphone uitableview nsindexpath
How can I get indexPath.row in cell.swift

I have 2 files. myTableViewController.swift myTableCell.swift Can I get the indexPath.row in myTabelCell.swift function? Here is myTableCell.…

swift uitableview nsindexpath
how to access from UICollectionViewCell the indexPath of the Cell in UICollectionView

i want to animate the UICollectionViewCell when action is called. i have done UICollectionViewCell in Interface Builder, the UICollectionView also. …

ios ibaction uicollectionview nsindexpath uicollectionviewcell
How to get a selected item in collection view using indexPathsForSelectedItems

I have a collectionView of photos and want to pass the photo who was cliked to a detailViewControler. The collection …

ios swift uicollectionview nsindexpath
Convert NSInteger to NSIndexpath

Basically I am storing an index of an array in a NSInteger. I now need it as an NSIndexpath, I'm …

ios objective-c nsindexpath nsinteger
NSIndexPath in Swift

I know, hopefully, that class NSIndexPath deals with arrays which has arrays. I have this code: import UIKit class ViewController: …

arrays swift nsindexpath
Get last cell in a UITableview section

I have a section in UITableView which has multiple rows. I wish to get the last row or the last …

ios uitableview nsindexpath