In 1958 , he married the Swedish actress Mai Zetterling , and for the next 17 years collaborated with her on films , a television play and a children 's book , wrote travel books and '' The Man Who Invented Tomorrow '' ( 1968 ) , about H.G . Wells , learned still-life photography , edited Town magazine in 1960 - '61 and lived in Sweden and France .