Skip to content

Instantly share code, notes, and snippets.

@BrunoScheltzke
BrunoScheltzke / IntrisicTableView.swift
Created July 6, 2020 21:33
Table and Collection view with intrinsic content size
//
// IntrisicCollections.swift
//
// Created by Bruno Scheltzke on 13/06/20.
// Copyright © 2020 Bruno Scheltzke All rights reserved.
//
import UIKit
final class IntrinsicTableView: UITableView {
@BrunoScheltzke
BrunoScheltzke / Collections+ReusableView.swift
Created July 6, 2020 21:32
Table and collection view extension with reusable view
//
// Collections+ReusableView.swift
//
// Created by Bruno Scheltzke on 07/06/20.
// Copyright © 2020 Bruno Scheltzke. All rights reserved.
//
import UIKit
protocol ReusableView: class {
//
// NibLoadableView.swift
// BenditasMaes
//
// Created by Bruno Scheltzke on 10/06/20.
// Copyright © 2020 App5m. All rights reserved.
//
import UIKit
//
// BaseViewController.swift
//
// Created by Bruno Scheltzke on 10/06/20.
// Copyright © 2020 Bruno Scheltzke. All rights reserved.
//
import UIKit
class BaseViewController: UIViewController {
@BrunoScheltzke
BrunoScheltzke / RoundImageView.swift
Created July 6, 2020 21:23
Round image view with option to enable a picker view to select image from camera or gallery
//
// RoundImageView.swift
//
// Created by Bruno Scheltzke on 04/06/20.
// Copyright © 2020 Bruno Scheltzke. All rights reserved.
//
import UIKit
protocol RoundImagePickerDelegate {
@BrunoScheltzke
BrunoScheltzke / AddressViewModel.swift
Created July 6, 2020 21:03
Wrapper class to manage address, location and cep
//
// AddressViewModel.swift
//
// Created by Bruno Scheltzke on 05/06/20.
// Copyright © 2020 Bruno Scheltzke. All rights reserved.
//
import Foundation
import CoreLocation