Blog

Page 95 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to check if a string contains a substring in Bash
shellstringsubstring

How to check if a string contains a substring in Bash

Published on September 2, 2023

šŸ“ **Title:** How to Check if a String Contains a Substring in Bash: Simplified Solutions and Examples! šŸ’»šŸ”Ž šŸ“– **Introduction:** Have you ever wondered how to easily check if a string contains a specific substring in Bash? šŸ¤” Look no further, as we're ab

Cover Image for Difference between objectForKey and valueForKey?

Difference between objectForKey and valueForKey?

Published on September 2, 2023

šŸ”Ž **Understanding the Difference between objectForKey and valueForKey** šŸ’” Have you ever encountered the perplexing dilemma of choosing between `objectForKey` and `valueForKey`? šŸ¤” Don't worry! You're not alone. These two methods may seem similar at firs

Cover Image for Use of alloc init instead of new
oop

Use of alloc init instead of new

Published on September 2, 2023

# Title: "The alloc init vs new Dilemma: Which one should you use?" Hey there, tech enthusiasts! šŸ˜Ž Have you ever wondered about the difference between using `alloc in

Cover Image for How to scale a UIImageView proportionally?

How to scale a UIImageView proportionally?

Published on September 2, 2023

šŸ“· How to Scale a UIImageView Proportionally? šŸ“ Are you struggling with scaling a UIImageView while maintaining its proportion? Let me guide you through an easy solution! šŸ˜Ž šŸ” Understanding the Common Issue: So, you have a UIImageView and you want to s

Cover Image for How can I reverse a NSArray in Objective-C?

How can I reverse a NSArray in Objective-C?

Published on September 2, 2023

# Reversing an NSArray in Objective-C: A Simple Guide šŸ”„ So, you have an `NSArray` that you want to reverse in Objective-C. Whether you're a beginner or an experienced developer, this common problem can be easily solved. In this blog post, we will explore

Cover Image for Best way to define private methods for a class in Objective-C

Best way to define private methods for a class in Objective-C

Published on September 2, 2023

# The Best Way to Define Private Methods for a Class in Objective-C šŸ˜Ž So, you just started programming Objective-C and want to know how to deal with private methods? Good news! I've got you covered. šŸ™Œ ## Understanding the Challenge 🧐 In Objective-C,

Cover Image for Get the current first responder without using a private API

Get the current first responder without using a private API

Published on September 2, 2023

# Get the Current First Responder Without Using a Private API šŸ‘‹ Hey there, fellow app developer! So, you've encountered the dreaded rejection email stating that your app cannot be accepted because you're using a non-public API, more specifically, the `fi

Cover Image for "sending "const NSString *" to parameter of type "NSString *" discards qualifiers" warning

"sending "const NSString *" to parameter of type "NSString *" discards qualifiers" warning

Published on September 2, 2023

# Title: "Are you Discarding Qualifiers? Here's How to Fix it!" Hey there tech enthusiasts! šŸ‘‹ Are you tired of receiving those pesky warnings about "discarding qualifiers" while coding in Objective-C? You're in the right place! šŸŽ‰ Today, we'll dive into

Cover Image for Apply a coupon programmatically in Woocommerce

Apply a coupon programmatically in Woocommerce

Published on September 2, 2023

šŸ”„šŸŽ‰šŸ›’ **Apply a Coupon Programmatically in WooCommerce: A Complete Guide** šŸ›’šŸŽ‰šŸ”„ Are you looking to apply a coupon code programmatically in WooCommerce? šŸ¤”šŸ’° We've got you covered! In this guide, we'll walk you through the process step by step, providi

Blog | Matheus Mello