Skip to content

Instantly share code, notes, and snippets.

View alcidesjunior's full-sized avatar
💻
Codando...

Alcides Junior alcidesjunior

💻
Codando...
View GitHub Profile
final class Spinner {
fileprivate static var activityIndicator: UIActivityIndicatorView?
fileprivate static var style: UIActivityIndicatorViewStyle = .whiteLarge
fileprivate static var baseBackColor = UIColor(white: 0, alpha: 0.6)
fileprivate static var baseColor = UIColor.white
/**
Add spinner to `UIView`
//
// Spinner.swift
//
// Created by Michał Majchrzycki on 28.03.2018.
// Copyright © 2018 Prograils.com. All rights reserved.
// Check whole tutorial at: https://prograils.com/posts/reusable-activity-indicator-with-swift
import UIKit
open class Spinner {
@PavloBezpalov
PavloBezpalov / 1 Gist conventions
Last active January 7, 2024 11:55
Deploy Rails 5.0.0.beta3 to VPS(Ubuntu 14.04.4 LTS). Nginx, Puma, Capistrano3, PostgreSQL, RVM.
<<APP>> change this variables