limit the rotation around the x axis of a SCNNode in scnekit

I created a simple project with scenekit and I inserted a SCNNode. Basic with a swipe gesture it rotates around its center. I would like to be able to limit the rotation of the object on the x axis. In short, considering the point (0,0) in the center of the object, on the x axis it must be able to rotate only an angle between 0 ° and 90 °