add swift file
Merge remote-tracking branch 'origin/master'
convert to swift