today is tomorrow's past

today is tomorrow's past

I help people create remarkable things. Focus on the customer and quality. Opinions are my own. Photography is my other passion.

3-Minute Read

Nevada Falls Yosemite National Park TL;DR Adding Swift Code to Objective-C Project Ensure your Swift class derives direct or indirect from NSObject Ensure your Swift class is public to ensure the YourProjectName-Swift.h header generation Prefix the class to expose it to Objective-C. Any Property or method needs its own @objc annotation to be visible from Objective-C. Use the @objcMembers annotation to expose all properties and methods of the Swift class Reminder for myself I learned a couple of essential things about mixing Objective-C and Swift in one project.

3-Minute Read

The Gatekeeper Before I forget what I learned today, I better write it down. Gatekeeper on macOS ensures that properly signed and authentic apps and other executable files, including dylibs and kexts, are executed on your Mac. But if you want to execute an open-source tool installed by brew or some other way on your machine, you will usually see something like this confirmation dialog. In this case, for an app FSNotes installed with brew.

2-Minute Read

TL;DR Hugo’s file lookup magic was biting me and was causing the 3rd party template to use a file with the same name from my blog assets directory. How to waste lots of hours I use Hugo for my Blog with a custom theme hugo future imperfect slim. I made some customizations to my blog a while ago. I added baguetteBox.js for better image galleries and lazySizes to better support different image sizes in the gallery.

Recent Posts

Categories

About

Always something to think about