Skip to content

Latest commit

 

History

History
 
 

13-Project10

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Project 10 - Names to faces

https://www.hackingwithswift.com/100/42

Includes solutions to the challenges.

Pictures from @valentinantonini, @worldsbetweenlines, @alexwoods, @t_rampersad, @artemkovalev

Topics

UICollectionView, UIImagePickerController, NSObject

Challenges

From Hacking with Swift:

  1. Add a second UIAlertController that gets shown when the user taps a picture, asking them whether they want to rename the person or delete them.
  2. Try using picker.sourceType = .camera when creating your image picker, which will tell it to create a new image by taking a photo. This is only available on devices (not on the simulator) so you might want to check the return value of UIImagePickerController.isSourceTypeAvailable() before trying to use it!
  3. Challenge 3

Screenshots

screenshot1