For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
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+Layout.swift | |
| // | |
| // Created by Mads Kleemann on 12/08/2018. | |
| // | |
| import UIKit | |
| public extension UIView { |
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
| // | |
| // DatabaseWorker.swift | |
| // Readlst | |
| // | |
| // Created by Mads Kleemann on 04/08/2017. | |
| // Copyright (c) 2017 Readlst. All rights reserved. | |
| // | |
| import UIKit | |
| import RealmSwift |