Slow load time for custom UIView in Swift
问题 Background In order to make a text view that scrolls horizontally for vertical Mongolian script, I made a custom UIView subclass. The class takes a UITextView , puts it in a UIView , rotates and flips that view, and then puts that view in a parent UIView . The purpose for the rotation and flipping is so that the text will be vertical and so that line wrapping will work right. The purpose of sticking everything in a parent UIView is so that Auto layout will work in a storyboard. (See more