blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
546 B
30 lines
546 B
// Copyright © 2018 Stormbird PTE. LTD.
|
|
|
|
import UIKit
|
|
|
|
extension Collection where Element == UIView {
|
|
// swiftlint:disable all
|
|
var alpha: CGFloat {
|
|
set {
|
|
for each in self {
|
|
each.alpha = newValue
|
|
}
|
|
}
|
|
get {
|
|
return 1
|
|
}
|
|
}
|
|
// swiftlint:enable all
|
|
|
|
func hideAll() {
|
|
for each in self {
|
|
each.isHidden = true
|
|
}
|
|
}
|
|
|
|
func showAll() {
|
|
for each in self {
|
|
each.isHidden = false
|
|
}
|
|
}
|
|
}
|
|
|