In UIKit, an @IBOutlet is used to:
- Import a library
- Handle a button tap
- Declare a database table
- 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