Declaring a custom view | Apple Developer Documentation

Define views and assemble them into a view hierarchy.