swift-dependencies
Queryable
Our great sponsors
swift-dependencies | Queryable | |
---|---|---|
11 | 5 | |
1,363 | 2,424 | |
5.5% | - | |
8.2 | 7.9 | |
10 days ago | 15 days ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-dependencies
- Is iOS programming hard now?
-
From barely a hero to a superhero?
Check out www.pointfree.co www.swiftystack.com and www.mobilesystemdesign.com
-
Good Swift Repositories for Experienced Dev
I’d sincerely recommend the video series and associated repositories on https://www.pointfree.co
-
Do you (not) use Dependency Injection and why?
Now, with swift-dependencies from PointFree, you get both the ease of reaching out to a singleton with the benefit of easy overriding for unit tests.
-
TCA state update externally
I recommend you watch the www.pointfree.co website to have more details on TCA basics
-
I wrote an article about The Magic of KeyPath for Dependency Injection and how it Saved Me from Dependency Injection Hell that I faced in my current project.
Look into Dependencies from PointFree which definitely allows you to share instances of dependencies.
-
Queryable - A SwiftUI package that lets you trigger and await view presentations asynchronously
You'll find more information and details in the "Get Started" section of the repository's readme. And if you want to see it used inside an app, have a look at Scrumdinger, which is a re-implementation of Apple's SwiftUI tutorial app with an app architecture I'm currently working on (the guys from pointfree had the awesome idea to use that example app and re-implement it using different techniques).
-
How to send data from the app delegate to other views?
Very elaborate: https://github.com/pointfreeco/swift-dependencies A more broad explanation of all types, from not injecting at all until the fancy framework one: https://betterprogramming.pub/six-or-so-flavors-of-dependency-injection-in-swift-cd3d72651662
-
What is a piece of code (or Framework, extension, etc.) that you add in every new project?
At a minimum, Composable Architecture, and now Dependencies from Point-Free.
- EnvironmentObject weird behavior
Queryable
-
I accidentally built a meme search engine
You might be interested in this, https://github.com/mazzzystar/Queryable, https://queryable.app/
I run it on my iPhone.
Native app. Doesn't require a network connection (great for privacy).
-
Meta's Segment Anything written with C++ / GGML
I think you would want to use something like CLIP embeddings for image search.
Really enjoyed using this app for iOS: https://github.com/mazzzystar/Queryable
-
Shortcuts ?
This project is open source, so maybe someone will help implement it in the future. :)
-
[P] I open sourced Queryable - a CLIP-based photo search app (SwiftUI)
Many Americans distrust Chinese developers, fearing their photo album privacy would be violated and therefore are reluctant to use the product. I often receive emails from some developers asking about technical details. Now that it's free, why not make the source code available too. The link is: https://github.com/mazzzystar/Queryable.
What are some alternatives?
Setting - Compose beautiful preference panels.
clip-retrieval - Easily compute clip embeddings and build a clip retrieval system with them
Queryable - Asynchronous view presentations in SwiftUI
natural-language-image-search - Search photos on Unsplash using natural language
Scrumdinger - A re-implementation of Apple's Scrumdinger tutorial app in the Puddles architecture
aphantasia - CLIP + FFT/DWT/RGB = text to image/video
episode-code-samples - 💾 Point-Free episode code.
natural-language-youtube-search - Search inside YouTube videos using natural language
Factory - A new approach to Container-Based Dependency Injection for Swift and SwiftUI.
Awesome-CLIP - Awesome list for research on CLIP (Contrastive Language-Image Pre-Training).
AboutKit - Add an about screen to your app in just a few lines of code.
MoTIS - [NAACL 2022]Mobile Text-to-Image search powered by multimodal semantic representation models(e.g., OpenAI's CLIP)