develop

Xcode 14.3 Frustrating Issues Compilation and Solutions

In this guide, we address a collection of frustrating issues that developers have encountered while working with Xcode 14.3. As a powerful and versatile integrated development environment, Xcode 14.3 comes with its share of challenges. By compiling these problems and providing solutions, we aim to help fellow developers overcome these hurdles and streamline their workflow. …

Xcode 14.3 Frustrating Issues Compilation and Solutions Read More »

iOS – Obtaining the colour value of a specified pixel in a UIImage

To obtain the color value of a specified pixel in a UIImage, we can use the following code snippet in Swift: This code snippet is an extension of UIImage that adds a method called getPixelColor that takes a CGPoint as an argument and returns a UIColor object that represents the colour of the specified pixel. …

iOS – Obtaining the colour value of a specified pixel in a UIImage Read More »

iOS – Apple Push Service certificate is not trusted

Sometimes when you install an Apple push notification certificate to you keychain you’ll find the keychain indicates the certification as not trusted. This is due to the lack of certification of the issuer of this push notification certificate. Go to the info panel of your untrusted certificate and you’ll see the issuer’s info, like this: …

iOS – Apple Push Service certificate is not trusted Read More »

iOS – How to temporarily disable some libraries in Swift

When writing swift-based software, sometimes you want to disable a library because it does not support your testing environment, but you need to keep the reference of it and the related codes in your project. This can be done by using #canimport macro. Example: This is an elegant way to prevent compile errors while still …

iOS – How to temporarily disable some libraries in Swift Read More »

Scroll to Top