Add swift code snippet
Applying code formatting :lipstick:
Merge branch 'AGPUSH-767'