Custom View Code Generation

Code Generator generates a Custom View in a separate class file. This is similar when developing a custom view using Swift for iOS. The class file handle all subviews setup and layout to keep the class encapsulated. This make overall code more readable and manageable. Other advantage of separate file is a developer can reuse the class at other project.

Part of generated code for a Custom View