Pigs aren't hard to kill at all. That .223 will do very well, its all about shot placement anyway. Put it in the vitals = dead pig. My prefered rifle is my Savage Predator in .243, right in the ear, DRT. Their eyesight is pretty good close up but degraded more at distance, they tend to pick up movement at distance more than anything. Sense of smell is out of this world but easy to overcome if you prep like you would for deer hunting.
Our biggest issue with killing pigs is that they are more nocturnal than anything.