I hereby claim:
- I am meteochu on github.
- I am meteochu (https://keybase.io/meteochu) on keybase.
- I have a public key whose fingerprint is C44A 8429 8717 AC71 E2D6 C352 425E 1B03 37AF 0745
To claim this, I am signing this object:
import Foundation | |
extension String { | |
var isValidEmail: Bool { | |
let emailRegEx = "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$" | |
return NSPredicate(format:"SELF MATCHES %@", emailRegEx).evaluate(with: self) | |
} | |
} |
// | |
// UIImage.Effects.swift | |
// | |
// | |
// Created by Andy Liang on 2016-06-19. | |
// | |
// | |
import UIKit | |
import Accelerate |
import UIKit | |
extension UIFont { | |
enum TextStyle: String { | |
case title1 | |
case title2 | |
case title3 | |
case headline |
// | |
// Reachability.swift | |
// | |
// | |
// Created by Andy Liang on 2016-03-06. | |
// Copyright © 2015 Andy Liang. All rights reserved. | |
// | |
import SystemConfiguration |
I hereby claim:
To claim this, I am signing this object: