Skip to content

Instantly share code, notes, and snippets.

View gabrieltodaro's full-sized avatar

Gabriel Patané Todaro gabrieltodaro

View GitHub Profile
@gabrieltodaro
gabrieltodaro / UIView+Anchors.swift
Last active August 25, 2023 17:10
UIView extension for use with anchors. This allows you to create views programmatically withou problems.
//
// Anchor.swift
// Todaro
//
// Created by Gabriel Patané Todaro on 18/02/19.
// Copyright © 2019 Todaro. All rights reserved.
//
import UIKit
@corteggo
corteggo / Springboard.swift
Last active March 18, 2025 22:04
Uninstalling app in XCUITests
/// Springboard UITests helper
/// USAGE: Springboard.uninstallApp(named: "Instagram")
internal final class Springboard {
// MARK; - Constants
/// Press duration
private static let pressDuration: Double = 1.3
/// Delete button name
private static let deleteButtonName: String = "Delete"