Objective

  • Learn how custom control works
  • Learn how to draw shapes and images in UIView
  • Learn how to pass data with Delegation and Target-Action
Face-Changesnapshot

Steps

  • Follow the tutorial and create a custom slider
  • Add a target which can be controlled by the slider. In this case, it’s another UIView – FaceView
  • Create the datasource delegate protocol  for the FaceView and implement it in the main controller

Takeaway:

Source code at Github