Giphy / giphy-ios-sdk

Home of the GIPHY SDK iOS example app, along with iOS SDK documentation, issue tracking, & release notes.
https://developers.giphy.com/
Mozilla Public License 2.0
116 stars 52 forks source link

Support for macOS - SwiftUI #175

Open AlexandreHauber opened 3 years ago

AlexandreHauber commented 3 years ago

Hello!

I am working in a SwiftUI project in which we will be supporting both iOS and macOS. I understand I could achieve a gif picker for macOS by using the open apis, but first I wanted to check if there is any work being done for macOS. If so, how can I help? If not, I am willing to fork the project and work on a version for SwiftUI (both iOS and macOS).

Not sure how to proceed, any thoughts on that?

Thanks :)

cgmaier commented 3 years ago

hey @AlexandreHauber, we don't have any additional work currently planned for macOS, but as I understand it a number of developers are using the GIPHY SDK successfully in their Mac apps. The .xcframework contains the necessary architectures for Mac support, and the UI translates surprisingly well out of the box. Let us know if your investigation yields any ideas for Mac improvements we can consider making in the future. Thanks!

AlexandreHauber commented 3 years ago

Hey @cgmaier, thanks for the feedback. I am using SwiftUI and I import GiphyUISDK, version 2.1.11, as SPM. For iOS it works perfectly. For macOS I always get No such module 'GiphyUISDK'.

Do you know if people using for Mac apps are already running SwiftUI projects? Now I am trying to use it as a local package so I can tweak and try to figure out why it does not recognize it. If I get to understand what is the issue I can update you.

iRiziya commented 2 years ago

Any update on this? @AlexandreHauber and @cgmaier

I am struggling with the same.

AlexandreHauber commented 2 years ago

Hey @iRiziya, unfortunately, I wasn't able to focus on that yet 🥲.