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”notes from a developer, tutorials, how-to, ideas
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 memo on how to symbolicate and read the crash logs from Apple in order to identify where your crash happened.
Continue reading “iOS – Symbolicate crash logs from published application”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”Today I want to tell you what happened on my latest iOS game released, “Insects Hunter – AR Shooter“… and why the insects?
Before starting, download it from App Store (it’s free for a couple of months!
I started the development of this simple game during the quarantine, the scope was to kill all the COVID-19 viruses that appear around your photo-camera.
Continue reading “Insects Hunter – AR shooter for iOS”I want to share a simple how-to, used to get the GPS position of an iOS user with the app completely closed, in the background, and in the foreground without using any useless workaround like idle timer and background operations…
We discuss about the GEO-fence tecnique. You can read more on Apple reference:
Continue reading “Track GPS position with iOS app killed”Today I want to present a small project with a lot of potentialities, an animated newspaper.
Using the ARKit framework from Apple, I’ll show you how to play a video while passing on the newspaper pages with your camera!
The scope of this project is to overlap a defined image on the newspaper with a video, for a better experience while reading the news.
Continue reading “How to make (and read) an animated newspaper”A draft of SpeechManager.swift, that recognize the spoken text using Siri.
It use the Apple Speech framework (https://developer.apple.com/documentation/speech):
Continue reading “Swift – Recognize spoken text using Siri”Perform speech recognition on live or prerecorded audio, receive transcriptions, alternative interpretations, and confidence levels of the results.
Draw a grid on the floor using augmented reality and eventually place objects on it.
Rotate a UIImageView using Gyroscope:
Continue reading “Swift – Rotate image using Gyroscope”Today a tutorial about augmented reality, in particular the use of the new Apple framework, ARKit, to measure distances between two points in a 3D virtual space.