This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Banco do Brasil = "bbapp://" | |
Bradesco = "BDNiPhoneVarejo://" | |
Bradesco Prime = "BDNiPhonePrime://" | |
Itaú = "itauvarejo://" | |
Itaú Personnalité = "itaupersonnalite://" | |
Santander = "santanderpf://" | |
Sicoob = "sicoob://" | |
Neon = "banconeon://" | |
Nubank = "nuapp://" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
final class HomeViewController: UIViewController { | |
private typealias DataSource = UICollectionViewDiffableDataSource<Int, String> | |
private typealias Snapshot = NSDiffableDataSourceSnapshot<Int, String> | |
private lazy var dataSource: DataSource = { | |
let cellHandler = UICollectionView.CellRegistration { (cell: UICollectionViewListCell, indexPath: IndexPath, itemIdentifier: String) in | |
var config = cell.defaultContentConfiguration() | |
config.text = itemIdentifier |