Can't hook up an outlet collection in Xcode 6 using storyboard

后端 未结 4 717
北荒
北荒 2020-12-10 17:03

I am having trouble creating an outlet collection in Xcode 6. Outlet collections in Xcode 6 now function as regular IBOutlets, and you use the same @IBOutlet attribute to de

4条回答
  •  清歌不尽
    2020-12-10 17:12

    This is under the Xcode 6 beta known issues: "Interface Builder does not support declaring outlet collections in Swift classes. (15607242)"

    Nate Cook's answer is correct for attaching outlets, but not outlet collections. Hopefully in the next Xcode 6 beta release this issue will be resolved.

提交回复
热议问题