I am creating a UIImage object in swift by passing image data to it. Similar to how its done in objective-c
UIImage imageWithData
However, i see error that says: imageWithData is not available for swift.
What is the alternative for imageWithData for Swift ?