Skip to content

while (true) { }

notes from a developer, tutorials, how-to, ideas

Tag: Apple

Posted on 13 October 202012 October 2020

Remove alpha channel from png images

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”
Posted on 24 August 202022 July 2020

macOS – App Icon Maker free utility

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”
Posted on 12 July 20204 June 2020

iOS – Symbolicate crash logs from published application

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”
Posted on 1 March 202010 April 2020

Xiaomi Roborock – control via socket API

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”
Posted on 30 October 20184 October 2018

Swift – Battery level and charger status

Apple offer the batteryState in the UIDevice class:

Continue reading “Swift – Battery level and charger status”

Posted on 11 April 201425 May 2018

[ObjC] UIButton with rounded corners

APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code!

Requirements

  • ARC
  • iOS 7+
  • Xcode 5

How to use

Continue reading “[ObjC] UIButton with rounded corners”


Recent Posts

  • Swift – Simple full screen loader 11 August 2022
  • macOS – Disable microphone while typing 11 April 2022
  • iOS – Secure app sensitive information 25 March 2022
  • DIY: Hack Weward for iOS 8 March 2022
  • Swift – Circular button bubbles with gravity 26 November 2021
  • Swift – Have fun with GravityBehavior and DynamicAnimator 19 November 2021

Archives

Proudly powered by WordPress