You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, it's a nice library.
However, it seems that it's not currently available as the package for Swift Package Manager or via CocoaPods, so that the library could be easily integrated with the application target.
Supporting both would serve multiple purposes:
Makes it easier to integrate with the applications
Keeps the library code separate from the app code
Makes it very easy to upgrade to new versions of BlurHash
Assists discovery
I recommend creating a library definition files (.podspec and package.swift), so that the library could be integrated with the dependency management tools.
The text was updated successfully, but these errors were encountered:
Realistically speaking, most people would use the simple single-file implementation, which I am also not expecting to make any significant changes to in the future. I'm not sure a package manager actually adds much value here over just copying a single file.
I might still do it just because people are used to it though.
I didn't open a PR here since SwiftPM relies on having a manifest present at the repo root, not a subdirectory and there wasn't any precedence here for other package managers.
It adds both the simple BlurHash implementation and BlurHashKit as targets that can easily be added to your app from within Xcode.
Hi, it's a nice library.
However, it seems that it's not currently available as the package for Swift Package Manager or via CocoaPods, so that the library could be easily integrated with the application target.
Supporting both would serve multiple purposes:
I recommend creating a library definition files (
.podspec
andpackage.swift
), so that the library could be integrated with the dependency management tools.The text was updated successfully, but these errors were encountered: