I want to introduce you to the new “App Icon Maker“, a simple and free utility for macOS that helps you to convert the images in the 3 Apple formats, @1x, @2x, and @3x.Continue reading “macOS – App Icon Maker free utility”
PrivateFrameworks are always a joy.
Today, for a personal project I discovered how to use private Login.framework to lock programmatically via code (Swift or C) the screen of my mac book.Continue reading “Swift / C – Lock macOS programmatically”
A simple tutorial for find and identify the wrong typed words of the user in your application using the UITextChecker framework and the NatualLanguage framework.
Final result:Continue reading “Swift – Identify misspelled words and errors in phrases”
Very often you create a new class or a new view controller and customize it before start coding.
Every time you select from XCode, New File, the file type and add it to your project, like this:Continue reading “Create your own XCode template”
Why this guide?
My need was to control the robot asking simple commands through Google Home and Alexa like: “Alexa, clean the bathroom“.
With my robot, this was not possible. With the app, you can configure the zones but you can’t simply ask for cleaning only one zone, two times, for instance, all in automatic.Continue reading “Xiaomi Roborock – control via socket API”
In my personal case I use three different git services for store / share my personal / work code:
- Github // my blog code, free open sources code
- Gitlab // my work code, on-premise installation
- Bitbucket // my personal code, free private repo
Every service uses different SSH keys to use. Must be configured separately.Continue reading “Use multiple GIT accounts on same machine / macOS”
A useful trick using .map:Continue reading “SWIFT – Create filled array using map”
You need to build a System preference panel extension for your app but you’re unable to debug it from XCode due to Apple System Integrity lock?
Let’s see how!
But how to debug this extension?
Latest macOS block the execution or the debug of all system application. Now all apps are signed and if you try to attach a debugger you’ll receive this error:
Continue reading “XCode – Debug macOS PreferencesPane applications”
Message from debugger: cannot attach to process due to System Integrity Protection
A one shot “clone” of NES Duck Hunt made in Unity3D. Is not properly a clone… because is only a one-shot duck and restart.
Today i’ve discovered a simple and funny way to catch all Pokemon around the world simply stay sit in front of your pc!