For years now, Donald Trump has considered the media to be his enemy.