iOS, Swift, Viewcode, Uikit, Xcode.
view, it should call addArrangedSubview for each subview. Otherwise, add with addSubview . This makeHierarchy method should be called for each hierarchy relation that is described in our computed property in the subclass of BaseView. With that said, let's declare the following: Now our hierarchy