Longtime Sydney Swans coach John Longmire quits after grand final thumping.