I am trying to access the MyCustomView from another class using the following code in ViewController.swift ..
MyCustomView
var view = MyCustomView(frame: CGR
view = MyCustomView(frame: CGRectZero)
In this line you are trying to set empty rect for your custom view. That's why you cant see your view in simulator.