Can i have Airport Example Source code in iOS

My aim is to get the range of the beacons and depending upon its strength (like nearby, far) i have to update UI.

I have already implemented Proximity Example and able to get the nearest beacons.

But i want to select the beacons which is nearest. So, i guess to checking via range value is the only way to do it.

Can anyone help me?

Thanks,