Tom Daley won his first major 10-metre platform competition since the Olympic Games in Edinburgh on Sunday.