rowDescriptor
is a AnyObject?
type, I get convert self.rowDescriptor?.value
to images
. I want to add image to the self.rowDescriptor?.value
. I failed to do it as below. images
has one value. but self.rowDescriptor?.value
still empty. I can't find any document about it. what's the reason about it.
var images :[UIImage] = self.rowDescriptor?.value as! [UIImage]
if let image = editedImage {
images.append(image)
} else {
images.append(originalImage!)
}