Skip to content

Instantly share code, notes, and snippets.

View cocuroci's full-sized avatar

André Cocuroci cocuroci

  • Curitiba, Paraná
View GitHub Profile
@cocuroci
cocuroci / UICollectionViewCompositionalLayout.swift
Created February 8, 2023 13:53
UICollectionViewCompositionalLayout
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
@cocuroci
cocuroci / URLSchemes.txt
Last active September 6, 2023 00:58
URLSchemes Bancos
Banco do Brasil = "bbapp://"
Bradesco = "BDNiPhoneVarejo://"
Bradesco Prime = "BDNiPhonePrime://"
Itaú = "itauvarejo://"
Itaú Personnalité = "itaupersonnalite://"
Santander = "santanderpf://"
Sicoob = "sicoob://"
Neon = "banconeon://"
Nubank = "nuapp://"