Go for 32 GB of ram if possible. Do you need 1 TB of SSD storage? If not get a smaller drive in the laptop + external drives for storage.
I have a MacBook Pro from few years back from work and it works fine for development stuff. I'm not doing any iOS development stuff though.
Previous comment...