Swift model generator