lucasbrown/swiftui-visual-effects

Add support for additional platforms

lucasbrown opened this issue · 5 comments

Currently, only iOS is supported; remaining platforms include macOS (NSVisualEffectView) and tvOS.

I plan to add support for macOS next.

Work has begun.

Experimental, functional AppKit wrappers for blur and vibrancy effects have been implemented in the macos-integration branch.

donly commented

Hi, lucasbrown. Thank you for this awesome project.

I like swiftui-visual-effects very much and it works well on iOS, but when I try add this package to my macOS SwiftUI project with Xcode 12 beta 6, and I selected the macos-integration branch, it shows the error:

Showing All Messages
terminated(128): CA_DEBUG_TRANSACTIONS=1 LD_LIBRARY_PATH=/Applications/Xcode-12.beta.6.app/Contents/Developer/../SharedFrameworks/ XPC_FLAGS=0x0 XPC_SERVICE_NAME=com.apple.dt.Xcode.39772 HOME=/Users/marecrisium CA_ASSERT_MAIN_THREAD_TRANSACTIONS=1 PATH=/Applications/Xcode-12.beta.6.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin SHELL=/bin/zsh LOGNAME=marecrisium USER=marecrisium TMPDIR=/var/folders/8v/6zsny3cd5pb4qcwdpbqz0cyh0000gn/T/ __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 MallocNanoZone=0 SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.0yzPuAR1Ry/Listeners /Applications/Xcode-12.beta.6.app/Contents/Developer/usr/bin/git -C /Users/marecrisium/Library/Developer/Xcode/DerivedData/slamdeckcreator-dwbestgvbrukegaioxfjskqszjlx/SourcePackages/repositories/swiftui-visual-effects-c861c6f8 rev-parse --verify 'swiftui-visual-effects^{commit}' output:

Hi, @donly. That branch, macos-integration, was experimental. I've now removed it.

Internally, I have been playing around with multiple macOS and tvOS API designs and implementations, and ultimately came to an entire new version of the project (2.0). However, I haven't had time to polish it and write the documentation for it.

I was iterating so quickly that I stopped pushing local changes to the remote and have files scattered about locally.

I apologize for the confusion, and I definitely want to give this project some more love once I have the time to do so again. Thank you for your interest. :)