This file contains 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 | |
class AsyncOperation : NSOperation{ | |
enum State{ | |
case Waiting, Executing, Finished | |
} | |
This file contains 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 | |
/// A UILabel subclass that can hold attributes and apply them to text | |
@IBDesignable | |
final class Label: UILabel { | |
convenience init(attributes: [NSAttributedStringKey: Any]) { | |
self.init() | |
self.attributes = attributes | |
} | |
// MARK: Properties |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.