If people can eat it, I can't think of an exception that pigs couldn't eat it as well. Pigs will also eat trimmings such as cantaloupe rind and pineapple rind. pigs will eat meat and benefit from it, no reason not to feed meat unless that is just your preference.
I think the key rule is all things in moderation and pigs are not known for self moderating. I read about an 800 lb boar nearly dying from eating a 5 gallon bucket of tomato sauce. Tomatoes are good for pigs but too much all at once and there is some chemical that causes a problem. Potatoes are similar, especially if not cooked.
Pigs are good at not eating bad things, like certain weeds, as long as they have plenty of other stuff to eat. But a hungry pig is a vacuum for just about everything including the kitchen sink.