added __iter__ on swift files