I have this problem with creating UIView's
subclasses. Creating, for example, UIViewControllers
or UITableViewCells
is okay.
Why this happens?
You can add custom Xcode template that will fix this issue or add an existing template. Read more how to create and add it to Xcode here.
Template can be found here.