         ]
         return attrs + addlAttrs
     }
-
 }


    public let background = UIView()
    let textView = ElloTextView()
    var categories = [Category]()

    public init(categories: [Category]) {
        super.init(frame: .zero)
        self.categories = categories

        style()
        bindActions()
        setText()
        arrange()

        // for controllers that use "container" views, they need to be set to the correct dimensions,
        // otherwise there'll be constraint violations.
        layoutIfNeeded()
    }

    public required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}

public extension ProfileCategoriesScreen {

    func style() {
        background.backgroundColor = .modalBackground()
        textView.backgroundColor = .clearColor()
        textView.editable = false

            make.leading.trailing.equalTo(self).inset(Size.textInset)
            make.centerX.centerY.equalTo(self)
        }
    }
}

