Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Foundation
- struct GlobalsStruct {
- static let aValue = 5
- private init() {}
- }
- let gs = GlobalsStruct()
- print(gs)
- print(GlobalsStruct.aValue)
- print(gs.dynamicType.aValue)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement