Blog

Page 147 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Do Swift-based applications work on OS X 10.9/iOS 7 and lower?
macos

Do Swift-based applications work on OS X 10.9/iOS 7 and lower?

Published on September 2, 2023

# šŸ“±šŸ–„ļø Can Swift-based Applications Work on Older Operating Systems? If you're a developer diving into Swift, Apple's powerful programming language, you might be wondering whether your Swift applications will work on older operating systems like OS X 10.

Cover Image for How organize uploaded media in WP?

How organize uploaded media in WP?

Published on September 2, 2023

# How to Organize Uploaded Media in WordPress šŸ“‚šŸ–¼ļø Are you tired of searching through a cluttered media library in your WordPress site? Do you want to organize your uploaded files into neat folders and subfolders? We feel you! In this guide, we'll show y

Cover Image for WordPress get_template_part pass variable
variables

WordPress get_template_part pass variable

Published on September 2, 2023

# 🌟 Passing Variables to `get_template_part()` in WordPress 🌟 If you're a WordPress developer, you may have come across the situation where you need to pass a variable to the `get_template_part()` function. This function is commonly used to include temp

Cover Image for How do I check if a string contains another string in Swift?
stringsubstring

How do I check if a string contains another string in Swift?

Published on September 2, 2023

# Checking if a String Contains Another String in Swift: A Comprehensive Guide! šŸš€ Are you starting your Swift journey and wondering how to check if a string contains another string? Fear not, fellow Swift explorer! In this blog post, we'll walk through c

Cover Image for Convert Int to String in Swift
castingstring

Convert Int to String in Swift

Published on September 2, 2023

# Converting Int to String in Swift: The Easy Way! šŸš€ Are you struggling to convert an `Int` to a `String` in Swift? Don't worry, you're not alone! Many developers face this challenge while working on their Swift projects. In this blog post, I'll walk you

Cover Image for How to get current logged in user using Wordpress Rest Api?

How to get current logged in user using Wordpress Rest Api?

Published on September 2, 2023

šŸ“šŸ’” How to Get Current Logged In User Using WordPress Rest Api? Are you struggling to get the current logged in user using the WordPress Rest Api? Frustrated with getting unexpected results or facing errors? Don't worry, we've got you covered! In this bl

Cover Image for How to add "active" class to wp_nav_menu() current menu item (simple way)

How to add "active" class to wp_nav_menu() current menu item (simple way)

Published on September 2, 2023

# šŸŽ‰ How to Add the "active" Class to `wp_nav_menu()` Current Menu Item (Simple Way) šŸŽ‰ Are you building a custom WordPress theme using the _Underscores and Bootstrap starter theme? Do you want to modify `wp_nav_menu` so that it assigns the `active` class

Cover Image for Swift Beta performance: sorting arrays
performancesorting

Swift Beta performance: sorting arrays

Published on September 2, 2023

<!-- Title --> # Swift Beta Performance: Sorting Arrays Made Easy! šŸ˜ŽšŸš€ Are you tired of your Swift Beta code running with poor performance? 😄 Have you noticed that something as simple as sorting arrays is a major bottleneck? You're not alone! Many devel

Cover Image for #ifdef replacement in the Swift language

#ifdef replacement in the Swift language

Published on September 2, 2023

šŸ“¢ Hey there Swift developers! šŸ‘‹ Are you wondering if there's a way to include or exclude code based on certain conditions in Swift, just like you can in languages like C/C++ and Objective C using the #ifdef preprocessor directives? šŸ¤” Well, fret not, bec

Cover Image for @selector() in Swift?

@selector() in Swift?

Published on September 2, 2023

# The Mystery of @selector() in Swift: Solving the NSTimer Problem šŸ‘‹ Hey there, fellow Swifter! šŸ˜Ž Are you trying to create an NSTimer in Swift but finding yourself stuck? You're not alone! šŸ¤” Let's dive into the magical world of @selector() and find the