Skip to content

Instantly share code, notes, and snippets.

View pabloruan0710's full-sized avatar
🎯
Focusing

Pablo Ruan pabloruan0710

🎯
Focusing
  • Banco Inter
  • Belo Horizonte
View GitHub Profile
@pabloruan0710
pabloruan0710 / HostSnapshoptViewController.swift
Last active August 28, 2023 10:34
Create Snapshot for ScrollView (Views) SwiftUI
//
// HostSnapshoptViewController.swift
// git:pabloruan0710
//
// Created by Pablo Ruan on 28/04/23.
// Copyright © 2023 Pablo Ruan. All rights reserved.
//
import Foundation
import SwiftUI
@pabloruan0710
pabloruan0710 / Interview.swift
Created June 9, 2022 15:47
CodeReview Interview
import Foundation
public enum DogGender: Int {
case male
case female
}
public class Dog {
public var name: String
public var gender: DogGender
@pabloruan0710
pabloruan0710 / AutoLayoutCodeView.swift
Created March 28, 2019 14:31
Extension de UIView para adicionar constraints programaticamente.
import Foundation
import UIKit
extension UIView {
/**
Margem para lado esquerdo - leftAnchor
- Parameter size: descricao do parameter.
- Parameter active: descricao do parameter.