Quick memo to get the
keyWindow for all iOS versions until now.
KeyWindow is the “ key” window of your entire application. The key window receives keyboard and other non-touch related events. Only one window at a time may be the key window.
#available(iOS 13.0, *) keyword to bypass system check:
Continue reading “Swift – Get app keyWindow”
As personal utility I’ve created a new
Consist of a simple
UIColor extension with a customized set of my favorite flat colors that I use very often.
To integrate in your project, simply add this line in your
pod 'FlatUIColors', :git => 'https://github.com/elpsk/FlatUIColors.git'
Install pods from terminal:
$ pod install and open your project
$ xed .
Continue reading “Swift – FlatUI color palette cocoapod library”
Every time you upload a
screenshot on the App Store for a new app submission, you receive from Apple this error message:
“Images can’t contain alpha channels or transparencies.”
Continue reading “Remove alpha channel from png images”
Very often you should use a notification name in your code and every time you miss something, you write the wrong name and so on…
I want to simplify the coding like, so I use this solution. Easy and simple for me and I want to share:
Continue reading “Swift – Useful NotificationName extension”
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 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?
download it from App Store ( it’s free for a couple of months!
Insects Hunter – AR Shooter
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”