How to use angle limit in spring joint ?

Hi, Im using SKPhysicsJointSpring to make catapult. however, i could rotate it 360 which is i didn't want to do that. How to limit the way i'm rotating it ? any advice and suggestions will be greatly appreciated 🙂 Thanks.