Skip to content

Instantly share code, notes, and snippets.


Artur Rymarz artrmz

View GitHub Profile
View with.swift
private func with<T>(_ value: T, _ builder: (T) throws -> Void) rethrows -> T {
try builder(value)
return value
// Use
class MyClass {
var prop = "it's"
lopspower /
Last active Jul 26, 2021
Hexadecimal color code for transparency

Hexadecimal color code for transparency


How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

umpirsky / A.markdown
Last active Nov 20, 2020 — forked from olivierlacan/An_example.markdown
Sublime Text Monokai Sidebar Theme.
View A.markdown