logic behind capacitiveSensor library

I'm using Rfduino for my project. I need to make a touch sensor. But the capacitiveSensor Library will not work with Rfduino. So please help me by giving any other way to do this. Or please let me know the logic behind the library.

What do you mean by "will not work with Rfduino" ?