A spatial patternable macroporous hydrogel with cell-affinity domains to enhance cell spreading and differentiation.