swift
1import Bond 2class ImageCollectionVM { 3 var images = ObservableArray<UIImage>() 4} 5 6class ImageView: UIView { 7 var images: [UIImage] = [] 8 9 override init(frame: CGRect) { 10 super.init(frame: frame) 11 let vm = ImageCollectionVM() 12 vm.images.bidirectionalBindTo(self.images) 13 } 14}
swiftbondについて質問です。現在画像の配列をswiftbondで監視しようとしているのですが、エラーに成ってしまいます。
エラー文は、
cannot invoke 'bidirectionalBindTo' with an argument list of type '([UIImage])'
このような文章になっています。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/04 15:21
2016/09/04 16:12
2016/09/04 16:34