blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
532 B
31 lines
532 B
//
|
|
// UITableViewCell.swift
|
|
// AlphaWallet
|
|
//
|
|
// Created by Vladyslav Shepitko on 09.03.2021.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
extension UITableViewCell {
|
|
|
|
var tableView: UITableView? {
|
|
return next(UITableView.self)
|
|
}
|
|
|
|
var indexPath: IndexPath? {
|
|
return tableView?.indexPath(for: self)
|
|
}
|
|
|
|
}
|
|
|
|
extension UICollectionViewCell {
|
|
|
|
var collectionView: UICollectionView? {
|
|
return next(UICollectionView.self)
|
|
}
|
|
|
|
var indexPath: IndexPath? {
|
|
return collectionView?.indexPath(for: self)
|
|
}
|
|
}
|
|
|