Categories
AI GPT-3 Swift SwiftUI

GPT-3 use case – summarise current news feed from website and classify the sentiment – open-sourced

Source code: https://github.com/cosmindolha/Scrapper I had this idea in my had for a few years now. It would be cool, if you could just open an app, and the app will go, fetch the latest news, summarises them for you, and also classifies the sentiment, in this way you could in theory, cover a lot of […]

Categories
Apple MacOS App Swift SwiftUI

Practical SwiftUI stuff I learned while building a Photo Viewer for MacOS

If you just want to tinker with all the code, you can get it here. How to make your SwiftUI MacOS app open a file You can open the file by using “Command + Click” Open With dialog, or you change the file association to use your app as the default app for that file […]

Categories
Apple Swift SwiftUI

Extension for inverting the Color of your image in SwiftUI based on .dark or .light theme

I am using this little extension to invert the colors of the icons in my app. The icons are in black and white, and designed first to be used in the .light theme mode, that means they have beed design in black lines, so when the user will switch to dark, the icons should change […]