How to detect nearable distance?

How can i detect the distance ( far, near, immediate ) for a nearable like the distance demo in the Estimote app.
i read about measuring the received signal strength (RSSI), but i can’t find the way how to implement it in IOS SDK.

Estimote SDK Docs

use the function

computeProximity(Nearable nearable)