For the first time in 34 years Friday, a sitting U.S. president attended and addressed the annual convention of the National Rifle Association.