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
| import UIKit | |
| protocol FadeReloadable { | |
| func reloadData() | |
| func reloadDataWithFade() | |
| } | |
| extension FadeReloadable where Self: UIView { | |
| private func setAlpha(alpha: CGFloat, completion: (Void -> Void)? = nil) { |
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
| import UIKit | |
| struct typeable<T> { | |
| let value : String = "hello world" | |
| } | |
| protocol inside { | |
| func __myFunction() -> typeable<inside> | |
| } |