How to set outlet collections on iOS controller in swift?

set with referencing outlet collections

@IBOutlet var collectionButton: [UIButton]!

use outlet collections

for btn in collectionButton {
    btn.layer.cornerRadius = 5.0
}