View controller
Meaning in mobile app development, with examples
In mobile app development, view controller means: In iOS UIKit, an object that manages one screen or part of a screen: it loads the views, responds to user actions and handles events such as the screen appearing.
In Turkish: view controller, görünüm denetleyicisi
How it is used
Developers push or present a view controller and override methods such as viewDidLoad and viewWillAppear. 'Massive view controller' is a well-known problem where too much code ends up in one class. In SwiftUI, views take over much of this role.
Example sentences
The profile view controller has grown to 2,000 lines; we need to split it.
Present the login view controller modally if the session has expired.
Common collocations
- push a view controller
- present a view controller
- root view controller
- massive view controller
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: App Lifecycle and Architecture
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
