Blog

Page 92 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Duplicate symbols for architecture x86_64 under Xcode

Duplicate symbols for architecture x86_64 under Xcode

Published on September 2, 2023

# 🚧 How to Solve Duplicate Symbols for Architecture x86_64 under Xcode 🚧 So, you're working on your Xcode project, trying to build it, and suddenly BAM! 💥 You hit an error that says "Duplicate symbols for architecture x86_64." Not cool, right? 😩 But d

Cover Image for How can we programmatically detect which iOS version is device running on?

How can we programmatically detect which iOS version is device running on?

Published on September 2, 2023

## 📱 How to Programmatically Detect the iOS Version on a Device? Are you a developer struggling to detect which iOS version a user's device is running? 🤔 Don't worry, we've got you covered! In this blog post, we will explore the common issue of programm

Cover Image for NSDate get year/month/day

NSDate get year/month/day

Published on September 2, 2023

📝 **Blog Post: How to Get Year/Month/Date from NSDate Object** Are you tired of going through a whole lot of hassle just to get the year, month, and date from an `NSDate` object? We feel you! 🙌 Thankfully, there's a simpler solution that will save you t

Cover Image for How to detect iPhone 5 (widescreen devices)?

How to detect iPhone 5 (widescreen devices)?

Published on September 2, 2023

# How to Detect iPhone 5 (widescreen devices) 📱 So, you've just upgraded to Xcode 4.5 GM and discovered that you can now apply the '4" Retina' size to your view controller in the storyboard. That's pretty exciting! 🎉 But now you're faced with a challen

Cover Image for Make a float only show two decimal places
floating-pointformatting

Make a float only show two decimal places

Published on September 2, 2023

# How to Make a Float Show Only Two Decimal Places Are you tired of seeing a long string of decimal places when you print a float value on the screen? 🤔 Don't worry, we've got you covered! In this blog post, we'll address the common issue of displaying f

Cover Image for How to use NSURLConnection to connect with SSL for an untrusted cert?

How to use NSURLConnection to connect with SSL for an untrusted cert?

Published on September 2, 2023

📝🔐 How to Use NSURLConnection to Connect with SSL for an Untrusted Cert If you're an iOS developer working with NSURLConnection to establish SSL connections, you may have encountered an issue when it comes to self-signed certificates. The error message

Cover Image for How do you print out a stack trace to the console/log in Cocoa?
introspection

How do you print out a stack trace to the console/log in Cocoa?

Published on September 2, 2023

# 🖨️ Printing Stack Trace in Cocoa: A Guide for Developers Are you a Cocoa developer who wants to level up their debugging skills? 🚀 In this post, we'll be exploring how to easily print out a stack trace to the console or log in your Cocoa applications.

Cover Image for UIImageView missing images in Launch Screen on device

UIImageView missing images in Launch Screen on device

Published on September 2, 2023

# 📱 UIImageView Missing Images in Launch Screen on Device: Easy Solutions! Have you ever encountered an issue where, despite having all your images in the right place in Images.xcassets, UIImageViews in your Launch Screen fail to display on certain devi

Cover Image for UIRefreshControl without UITableViewController

UIRefreshControl without UITableViewController

Published on September 2, 2023

## 🔄 Using UIRefreshControl without UITableViewController - A Sneaky Trick! 💡📲 So, you love the cool new iOS 6 `UIRefreshControl` class for implementing pull-to-refresh functionality in your app. But, there's just one problem - you prefer using a `UIVi

Blog | Matheus Mello