     
     Override this function to add layout constraints for all the subviews.
     */
-    func setupConstraints() {
+    public func setupConstraints() {
         // Abstract method.
     }
 }

        self.isSetup = true
    }
    
    required init?(coder aDecoder: NSCoder) {
        
        super.init(coder: aDecoder)
    }
    
    override func awakeFromNib() {
    
        super.awakeFromNib()


/**
    BaseView acts as a common base for all custom views
*/
@objc public class BaseView: UIView {

    public private(set) var isSetup: Bool = false


    // MARK: - Initialisers
    
    override public init(frame: CGRect) {
        
        super.init(frame: frame)
        
