This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // UIView+Shadows.swift | |
| // brasileirao | |
| // | |
| // Created by Tiago Do Couto on 7/24/18. | |
| // Copyright © 2018 coutocode. All rights reserved. | |
| // | |
| import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension UIDevice { | |
| var modelName: String { | |
| var systemInfo = utsname() | |
| uname(&systemInfo) | |
| let machineMirror = Mirror(reflecting: systemInfo.machine) | |
| let identifier = machineMirror.children.reduce("") { identifier, element in | |
| guard let value = element.value as? Int8 , value != 0 else { return identifier } | |
| return identifier + String(UnicodeScalar(UInt8(value))) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // String+AES.swift | |
| // bitcoin | |
| // | |
| // Created by Tiago Do Couto on 7/31/18. | |
| // Copyright © 2018 coutocode. All rights reserved. | |
| // | |
| import CryptoSwift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // UILabel+height.swift | |
| // AllBody | |
| // | |
| // Created by Tiago Do Couto on 8/20/18. | |
| // Copyright © 2018 coutocode. All rights reserved. | |
| // | |
| import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ProgressView.swift | |
| // CustomProgress | |
| // | |
| // Created by COUTO, TIAGO on 3/12/19. | |
| // Copyright © 2019 Couto Code. All rights reserved. | |
| // | |
| import UIKit |
OlderNewer