Blog
Page 93 of my articles, tutorials, and thoughts
Latest Articles
Extract filename and extension in Bash
# Extracting filename and extension in Bash ### Introduction Do you need to extract the filename and extension of a file in Bash? Whether it's for scripting purposes or simple file manipulation, it's a common task that might come with some challenges. I
Why does Apple recommend to use dispatch_once for implementing the singleton pattern under ARC?
# š Why Apple ā¤ļø dispatch_once for implementing the singleton pattern under ARC? If you've ever dived into the world of iOS development, you must have come across the famous singleton pattern. Singletons are a great way to ensure that you have one instan
How to add a touch event to a UIView?
# How to add a touch event to a UIView? šļø So, you want to add a touch event to a UIView but you're not sure how to go about it. Don't worry, I got you covered! In this guide, I'll walk you through the process step-by-step, addressing common issues and p
Why does viewWillAppear not get called when an app comes back from the background?
# Why does `viewWillAppear` not get called when an app comes back from the background? š So you're building an awesome app, and you want to make sure that when the user switches back to your app from the background, you can update the view accordingly. ļæ½
UITableview: How to Disable Selection for Some Rows but Not Others
š **Title**: How to Disable Selection for Some Rows but Not Others in UITableview š Hey there fellow developers! Have you ever come across a situation where you needed to disable selection for certain rows in UITableview, while keeping others selectable
How do I create a category in Xcode 6 or higher?
# Creating a Category in Xcode 6 or Higher: Unlocking the Power of UIColor ššØ š Hey there, fellow iOS developers! Are you trying to take your app's customization game to the next level by creating a category on `UIColor` in Xcode 6 or higher? I hear yo
Why I get the console warning: [Process] kill() returned unexpected error 1 when I load a WKWebView in iOS13.2?
# š Why am I getting the console warning: [Process] kill() returned unexpected error 1 when I load a WKWebView in iOS13.2? Are you a fellow iOS developer who recently updated to iOS 13.2 beta and encountered an annoying console warning everytime you load
UIView frame, bounds and center
# Understanding UIView frame, bounds, and center š¼ļø Do you find yourself confused when trying to work with the `frame`, `bounds`, and `center` properties of a `UIView`? š¤ Don't worry, you're not alone! Many developers struggle with these concepts, but f
Differences between strong and weak in Objective-C
# Understanding Strong and Weak in Objective-C š If you're an Objective-C developer, you've probably come across the terms "strong" and "weak" when dealing with property declarations in your code. These keywords play a crucial role in managing memory and






![Cover Image for Why I get the console warning: [Process] kill() returned unexpected error 1 when I load a WKWebView in iOS13.2?](/_next/image?url=%2Fimages%2Fposts%2F7DwD5wk9hJxG1Sc36OAS43.webp&w=3840&q=75)