Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct SwiftOption: OptionSet {
- let rawValue: UInt
- static let none = SwiftOption(rawValue: 0)
- static let option1 = SwiftOption(rawValue: 1)
- static let option2 = SwiftOption(rawValue: 1 << 1)
- }
Add Comment
Please, Sign In to add comment