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
Create ML Machine Learning Swift

Xcode Testing ML model for your app without running on the device

As of this writing, testing the image detection ML model inside the simulator (I am using Xcode 14.0 beta 3), won’t work if you are targeting iOS or iPadOS, you have to use an actual device. But now I stumbled onto the fact that if you can make your app, run for the “My Mac […]

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 […]

Categories
Music

Listening this week

Sadly, we have lost one of my favourites composers.In the words of Yanis Varoufakis, “We owe you melodies-soundscapes without which life would be much, much poorer”. For me, I am sure for others too, Vangelis, was a dream enabler.

Categories
Photography

Fan Ho Interview

Categories
Apple Create ML Machine Learning Swift

Error – The VNCoreMLTransform request failed

If you are working with the vision framework and you are getting this error, while testing the iOS app in simulator, well, test it on the actual device and see if the error goes away. Very unfortunate error description. This was very confusing personally, since the code was working fine while I was using it […]

Categories
Apple

Today I started coding (using Xcode) on the MacBook Pro 16 2021, here are my first thoughts

Let me start with the main reason I switched from MacBook Air to MacBook Pro 16, easy to guess, screen size. After coding for a while on the Air, I realized that I need a bit more real estate for running the simulator or seeing the changes in the Canvas while working on some SwiftUI […]

Categories
twitter

Fixing people on a global scale

So it seem Elon is looking to fix Social Media: One can only guess how much of this fixing is an algorithm fix and how much is just the human nature of mental errors. I am cautiously optimistic about the world in general, so I believe we might be able to guide/nudge people into healthier […]

Categories
AI Machine Learning Neuropsychology Photography

Quick update

For the last 1,5 years I have dived deep into the land of Photography and found out that I really like it. Another deep dive (currently in progress) is into Behavioral Science, Neuropsychology, Behavioral Economics and Marketing, topics that I always had a fascination with. I have left the coding part, to the side for […]

Categories
Arta Fotografica Fotografie Inspiratie

365ยบ de Eugenio Recuenco

365º Whole Project from Eugenio Recuenco on Vimeo. Gasit in numarul 13 al revistei franceze Normal, ce se gaseste si pe iPad in aplicatia Pocketmags.