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.
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”
I have bought a new weight scale that works with or without a smartphone.
There is a proprietary app, called Laica Body Touch.
Problem with this app are:Continue reading “Hacking “Laica Body Touch” weight scale with iOS”
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”
For personal purpose, I need to know the number of followers, likes, subscribers, etc…
The examined social platforms are:
- Facebook (number of likes)
- Instagram (number of followers)
- Youtube (number of subscribers)
- Twitter (number of followers)
Let’s start.Continue reading “Social counter 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”
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
I need a cpp function (without using boost, obv) that split a string in parts using an other string as token.
[code lang=”cpp” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]Center: (8.37, 9.86); Radius: 18.13; Point: (17.83, 6.51)[/code]