Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am automatt on github.
  • I am automatt (https://keybase.io/automatt) on keybase.
  • I have a public key ASBfafoaWpXOV1gQM-3N8flRfBMD_AfyZSJaQBBeleN28wo

To claim this, I am signing this object:

@Automatt
Automatt / HideableUIView.swift
Last active January 4, 2018 07:57 — forked from albertbori/HideableUIView.swift
iOS Swift Extension for easily hiding/showing UIViews constrained using Auto Layout
//
// HideableUIView.swift
// Jarvis
//
// Created by Mathew Spolin on 9/22/15.
// Copyright © 2015 AppDirect. All rights reserved.
//
import Foundation
import UIKit
[
{
"action": {
"type": "block"
},
"trigger": {
"url-filter": ".*",
"resource-type": ["script"],
"load-type": ["third-party"],
"if-domain": ["imore.com"]