[swift] How to create a global variable?