Test with our own template
[Swift] Add structures for attributes

Closes #1
[Swift] Supress a warning in beta 7