On using this function in swift and i am getting compiler error. Function is:
class func imageWithImage (imageToResize : UIImage, scaledToSize newSize : CGSize) { return imageToResize; }
and the error are:
What's wrong with this..? what can i do to use UIImage in Swift..?
Did you add import UIKit
to your file?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With