SwiftUI SKStoreReviewController requestReview
It's possible to request a review from the user using SKStoreReviewController with SwiftUI. It's necessary to call requestReview(in:) and pass a UIWindowScene. SKStoreReviewController hasn't been updated for SwiftUI, so the API still interacts with UIKit, which is where UIWindowScene comes from.
SwiftUI if and if let view modifiers using ViewBuilder functions
Conditional view modifiers are possible with an extension to View, taking a conditional and a ViewBuilder closure to execute if the conditional is true. This allows for conditionally calling iOS 15-only APIs in SwiftUI.
SwiftUI portrait double column split view
To imitate a SplitViewController with SwiftUI and tile the master next to the detail in portrait, you can introspect the split view controller that SwiftUI creates underneath the SwiftUI declarations and make the necessary adjustments.
SwiftUI equal scaling text size to fit
SwiftUI tutorial for scaling all the words to be the same size. This makes the longest word fit and all the other words are the same font size of that longest word. SwiftUI has the ability to scale text to fit some bounds automatically, which we can use with the bounds being the width of the screen.
Set up WordPress caching on Cloudflare Free
Tutorial for setting up caching of a WordPress site on the free plan of Cloudflare with caching and support for logins, using Cache-Control headers to specify exactly how to cache different resources on your site.
Add custom entitlement to iOS app
Apply any custom entitlements, including private internal Apple entitlements, to an app bundle IPA, and sideload the IPA on to your iPhone or iPad. This can be used to allow any app access outside the app sandbox container, or to access iPhone functionality otherwise restricted like CarPlay.
Swift subclass an Objective-C class with protected init
A workaround to super.init() from your Swift subclass for Objective-C superclasses with an init marked unavailable, such as the CoreBluetooth framework's CBPeripheral.