FaceAware
FaceAware copied to clipboard
SwiftUI Image focus on faces
@BeauNouvelle How can we use this magic in SwiftUI's Image
view?
Since this is just an extension, you should be able to wrap a regular UIImageView in UIViewRepresentable and call the appropriate methods in there.
I haven't tested it though.
I'm looking at writing a replacement for this library that works with SwiftUI! When time permits!
If the above suggestion doesn't work, please let me know and I'll look into improving it.
Thanks, @otymartin Will let you know once I implement it - generally, I'm just eliminating UIKit in favour of native SwiftUI so I wanted to avoid it.
Yeah, I would love to redo all this. I'm no longer building new projects using UIKit.
@BeauNouvelle Good to hear - looking forward to whatever magic you produce :)