Blog

Page 86 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to deselect a selected UITableView cell?

How to deselect a selected UITableView cell?

Published on September 2, 2023

# πŸ“± How to Deselect a Selected UITableView Cell? πŸ”„ Are you trying to figure out how to deselect a selected cell in your UITableView? πŸ€” Don't worry, we've got you covered! In this blog post, we'll address common issues and provide easy solutions to help

Cover Image for Get push notification while App in foreground iOS

Get push notification while App in foreground iOS

Published on September 2, 2023

# Get Push Notification While App in Foreground iOS: A Complete Guide πŸ“²πŸ’₯ Are you looking to receive push notifications on iOS even when your app is in the foreground? You've come to the right place! In this guide, we'll address the common issue of not b

Cover Image for How do I do base64 encoding on iOS?

How do I do base64 encoding on iOS?

Published on September 2, 2023

# The Ultimate Guide to Base64 Encoding on iOS πŸ“± So you want to perform Base64 encoding on iOS? You've come to the right place! In this guide, we're going to dive into the world of Base64 encoding and decoding on iOS devices. Whether you're a beginner or

Cover Image for How can I make a clickable link in an NSAttributedString?

How can I make a clickable link in an NSAttributedString?

Published on September 2, 2023

# How to Make a Clickable Link in an NSAttributedString πŸ“ Hey there! Have you ever wondered how to make a user-readable link clickable in a UITextView, UILabel, or UITextField? You know, like when you want to display text with a link "behind" it, instead

Cover Image for How can I use NSError in my iPhone App?

How can I use NSError in my iPhone App?

Published on September 2, 2023

πŸ“±πŸ” How to Use NSError in Your iPhone App πŸš€πŸ’₯ Have you ever encountered annoying errors in your iPhone app that seem to pop up out of nowhere? πŸ€·β€β™‚οΈ Don't worry, fellow app developers! NSError is here to save the day! πŸ¦Έβ€β™€οΈ πŸ”§ Problem: You're catching

Cover Image for applicationWillEnterForeground vs. applicationDidBecomeActive, applicationWillResignActive vs. applicationDidEnterBackground

applicationWillEnterForeground vs. applicationDidBecomeActive, applicationWillResignActive vs. applicationDidEnterBackground

Published on September 2, 2023

# Understanding the Differences: applicationWillEnterForeground vs. applicationDidBecomeActive So, you want to know which delegate to implement when your application wakes up from being in the background and you want it to prep to be active? Well, let's d

Cover Image for What kind of leaks does automatic reference counting in Objective-C not prevent or minimize?
macosmemory-leaks

What kind of leaks does automatic reference counting in Objective-C not prevent or minimize?

Published on September 2, 2023

πŸ“πŸ€”πŸ’‘ Title: Understanding Automatic Reference Counting (ARC): What Leaks Slip Through? Introduction: Memory leaks have always been a headache for developers, especially when it comes to managing pointers in Objective-C. But fear not! Xcode 4.2 introduce

Cover Image for @property retain, assign, copy, nonatomic in Objective-C
memory-management

@property retain, assign, copy, nonatomic in Objective-C

Published on September 2, 2023

# Understanding @property retain, assign, copy, nonatomic in Objective-C So, you're diving into Objective-C and you stumble upon the `@property` directive. πŸ€” You notice that it can be accompanied by modifiers like `retain`, `assign`, `copy`, and `nonatom

Cover Image for Apple Mach-O Linker Error when compiling for device

Apple Mach-O Linker Error when compiling for device

Published on September 2, 2023

πŸ“±πŸ”—πŸ˜± Apple Mach-O Linker Error when compiling for device. What a nightmare! 😫πŸ’₯ But fear not, my friends, for I am here to guide you through this treacherous territory. πŸ—ΊοΈπŸ’ͺ So, you just upgraded to Xcode 4.0 and now you can't deploy to your iPhone. I

Blog | Matheus Mello