1. Connect your iPhone 5 to your computer. iPhoto should automatically open its import window and show your iPhone's images and videos.
If iPhoto doesn't open, you need to turn the option on.
2. Click Import All. Or if you want to import specific items, select those images and videos, then click Import Selected. After your photos import, a dialog will ask you if you want to delete the original photos from your Camera Roll.
3. Choose Delete Photos or Keep Photos. If you delete photos after you import them, you can reduce the size of your Camera Roll and improve backup and restore times. If you want to import the photos to additional computers, keep your photos.
Then you can transfer photos from Mac to iPhone or back.