Using swift language to finish writing weather project