I also do it as Liesje suggested....at least with some of our cats. One thing that I would add to that though is after rubbing their throat, I open their mouth wide again and rub the throat once more. I've often seen cats keep the pill way back in the throat and then spit it out as soon as they get away from you. I think opening the mouth again, just in the chance they didn't swallow very well the first time, they are more apt to swallow this time.
Pill pockets work with some and as someone else suggested, best to give an empty one first and then again after you've given the pill. I break the pred pill, that I have to give one of our cats, in half and use two pill pockets. Another cat, who has to have a thyroid pill and will not eat the pill pockets, I break her pill in half also but put each piece in the center of a small mound of real tasty food...different things work for different cats. She happens to really love her canned kidney diet and so just using it often works...sometimes not though. Different varieties of canned fish flavor cat food often work. I've also found her to just love canned dog food (all varieties) and so use that some times as well. Another thing that many cats really like is the ham baby food. When I'm putting the pill in the food, I make a very small mound and then feed her the rest of her food, after I'm sure she's taken the pill. Some of the pills that come in the capsule, you can open the capsule and mix the powder up the same way. Make sure it is okay to open the capsule though, as It might depend on the medicine.
Good luck and I hope something works easy for you as it can be a very trying experience with some cats.
I'm not a puppy here. I've been around i-dog (aka dog.com) since, I believe it was, 2001.