Download Turbo C++ for macOS on Apple Silicon
Developer ID Certificates Expire on February 1, 2027: How to Move to G2
Fix GitHub Copilot for Xcode crashes immediately when opened
If GitHub Copilot for Xcode crashes or closes immediately when opening a specific project but works fine with others, the issue is likely due to cached data created
How to remove known ssh host?
There are multiple option to remove a known ssh host from the known_hosts file. 1. Use the ssh-keygen command This is the easiest and safest method
FairPlay Streaming Error Codes
When working with FairPlay Streaming (FPS), we may encounter errors with random error codes that lack proper documentation or explanation. An example of such an error is: Error
Apple Fairplay Streaming Overview
Apple's FairPlay Streaming (FPS) is a DRM (Digital Right Management) technology used to securely deliver streaming media content to devices. It works with the HTTP Live
How to measure function execution time in Swift?
Runtime code execution duration monitoring is crucial. Swift provides ContinuousClock to measures the time that always increments. The ContinuousClock acts like a stopwatch, measuring time relative to when
How to clear/reset SwiftUI Preview Caches?
If you run into any SwiftUI Preview related issue, then there are high chance that you are facing that issue due to some cached preview data. Here are
Use Xcode 14 to run/debug code on iOS 17 or tvOS 17
As you might know, Apple doesn't include the iOS 17 or tvOS 17 device support files in Xcode 15. So, the old trick of copy-paste
Fix Xcode 15 DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead
In Xcode 15 Apple changed the variable which points to the default toolchain location to $TOOLCHAIN_DIR from $DT_TOOLCHAIN_DIR. If some project/target used $DT_TOOLCHAIN_
Execute async/await method from Swift Command Line (CLI) Application
Call an async/await function (with or without throws) from the Swift Command Line Application using the spacial @main attribute to prevent the CLI application from exiting before the asynchronous operation completes.
SwiftUI focusSection - UIFocusGuide Alternative for SwiftUI?
Use the focusSection view modifier in SwiftUI as an alternative to the UIFocusGuide in UIKit to focus diagonally in tvOS apps by creating larger logical focus targets.
How to Create Custom Environment Values in SwiftUI?
Create custom environment key values in SwiftUI using EnvironmentKey protocol and EnvironmentValues extension. The Environment property wrapper can read custom environment key values.
Implement Push Notifications in SwiftUI Application
Add AppDelegate class with push notification callback functions to the SwiftUI app and link it with the SwiftUI app using the UIApplicationDelegateAdaptor property wrapper.