Following cataract surgery in which an artificial intraocular lens is implanted in the eye, cells of the cornea may become damaged. This leads to pseudophakic corneal edema, which is characterized by swelling, impaired vision, pain, red eyes, seeing halos around light, and the sensation that there's a foreign object in your eye.