Rewrite ThumbnailViewDelegate in Swift. Remove Objective-C copy.