Skip to content

Instantly share code, notes, and snippets.

@hungdt8
hungdt8 / FRP iOS Learning resources.md
Created September 18, 2017 02:57 — forked from JaviLorbada/FRP iOS Learning resources.md
The best FRP iOS resources.

Videos

@hungdt8
hungdt8 / regex-japanese.txt
Created March 14, 2017 07:57 — forked from terrancesnyder/regex-japanese.txt
Regex for Japanese
Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna!
([一-龯])
Regex for matching Hirgana or Katakana
([ぁ-んァ-ン])
Regex for matching Non-Hirgana or Non-Katakana
([^ぁ-んァ-ン])
Regex for matching Hirgana or Katakana or basic punctuation (、。’)
import Foundation
import UIKit
// Usage Examples
let shadowColor = Color.shadow.value
let shadowColorWithAlpha = Color.shadow.withAlpha(0.5)
let customColorWithAlpha = Color.custom(hexString: "#123edd", alpha: 0.25).value
enum Color {