In UIKit, an @IBOutlet is used to:

  1. Import a library
  2. Handle a button tap
  3. Declare a database table
  4. Reference a storyboard UI element from code
Answer

D) Reference a storyboard UI element from code

Outlets connect UI elements to properties in code; actions connect events to methods.

Computer Science MCQ · More iOS: Architecture and Framework MCQs · Practise