How To Create a PDF In A WKWebView In this article, we'll see how we can save the contents of a WKWebView as a PDF using Swift 5.
Using The Proxy Pattern In Swift 5 Today, we'll take a closer look at the proxy design pattern. We'll get the formal definition out of the way quickly and then we'll jump into some practical examples. What Is The Proxy Pattern? The proxy pattern is a structural pattern that helps you limit access to another class. In
How To Automatically Create .gifs From The iOS Simulator Did you know you can export .gifs directly from the iOS Simulator? No third-party tools are needed!
How To Notify Users About App Updates Whenever you release an app update, it's important to make sure existing users don't fall behind and that your user base doesn't become fragmented across multiple versions. So, some apps will choose to notify users when a newer version is available or will force them to upgrade if they fall
Rate Limiting on iOS Whenever you enter an address into Google Maps or search for a video on YouTube, you may have noticed that the auto-complete suggestions update at regular intervals rather than with every change to the search query. When you consider the scale of these platforms, limiting requests in this manner is
Using .allSatisfy in Swift You'll often find yourself in a position where you need to check if a particular condition applies across a collection of objects. Luckily, Swift provides the allSatisfy() method to handle just that. Let's say we want to write a function to verify that a student has completed all of the
Understanding Misaligned Images in the iOS Simulator Today, we'll discuss this setting in more detail and we'll see how we can improve our app's rendering performance by addressing issues related to misaligned images. I've been making iPhone apps for years, but I've never really investigated this feature. Now that I know what it does, I wonder how
Automatically Delete iOS Simulator Screenshots In iOS Development, you'll often use Command + S to take screenshots of your app running in the iOS Simulator. Although this is very convenient for sharing screenshots of your application with your team, or for pull requests, etc., since the system saves these screenshots to your Desktop, it quickly leads
Regex In 10 Minutes We'll cover everything you need to know about regular expressions and some tips to help you get the most out of them in Xcode.
Adding Custom Shortcuts To Xcode It’s always bugged me that Apple removed the Command + T shortcut to toggle Slow Animations. Using the following approach, you can restore this shortcut and add custom shortcuts to any Xcode or iOS Simulator settings. In System Preferences, select Keyboard -> App Shortcuts -> + Then, just specify your preferred