First Minister John Swinney said he wanted to use his role to tackle violence against women.