Migrate splits table to Swift