I wrote this class to create a dynamically sized (Kinda like a SVG but in Swift) logo (As a UIView subclass). It works perfectly if i add it to my View Controller's view's subviews in View Did Appear... but it will not work if I add it in View did load. Its a really strange problem that I cannot figure out.
EDIT: The problem only occurs when I do the transformation, if i dont do the transformation, The 4 subviews show up fine, but when i try to rotate them they vanish all together when implemented in View Did Load. And the transformation works in view did appear.
Here is the pastebin for the class I wrote.