Skip to content

Instantly share code, notes, and snippets.

View LeThinh2511's full-sized avatar
💭
Hello world!

Le Thinh LeThinh2511

💭
Hello world!
View GitHub Profile
@LeThinh2511
LeThinh2511 / keybase.md
Created September 12, 2019 05:45
Keybase

Keybase proof

I hereby claim:

  • I am lethinh2511 on github.
  • I am thinhle97 (https://keybase.io/thinhle97) on keybase.
  • I have a public key ASBzte3vRtV11nQc8btmFQ8moygiYyBfwLq_OxGc_V3VfAo

To claim this, I am signing this object:

import Foundation
extension String {
func localized() -> String {
return Bundle.main.localizedString(forKey: self, value: self, table: nil)
}
}
import Foundation
import UIKit
extension UIView {
@IBInspectable
var localizable: Bool {
get {
return self.localizable
}