got outlet collections working, so I was able to convert this class to Swift