Blog

Page 147 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for SourceKitService Terminated

SourceKitService Terminated

Published on September 2, 2023

# 🛠️ Fixing "SourceKitService Terminated" Error in Xcode Are you facing an issue with Xcode where the error message "SourceKitService Terminated" keeps popping up, causing a loss of syntax highlighting and code completion in Swift? Don't panic! We've got

Cover Image for How to dismiss ViewController in Swift?

How to dismiss ViewController in Swift?

Published on September 2, 2023

# How to Dismiss ViewController in Swift? 🚀 If you're trying to dismiss a ViewController in Swift but it's not working as expected, don't worry! You're not alone. Many developers face this issue, but luckily, there's a simple solution. ## The Problem ⚠️

Cover Image for How can I make the memberwise initialiser public, by default, for structs in Swift?
initialization

How can I make the memberwise initialiser public, by default, for structs in Swift?

Published on September 2, 2023

# Making the Memberwise Initializer Public for Structs in Swift: A Complete Guide 🚀 Are you facing a problem where you can't use the implicit memberwise initializer from another project when importing a Swift framework? Are you getting the error message

Cover Image for How to upload a file in Django?
file

How to upload a file in Django?

Published on September 2, 2023

# How to Upload a File in Django: A Beginner's Guide Are you a Django developer trying to figure out how to enable file uploads in your web application? 🤔 Look no further! In this guide, we will walk you through the process step by step. By the end, you'

Cover Image for Using isKindOfClass with Swift
introspectionreflection

Using isKindOfClass with Swift

Published on September 2, 2023

# Using the `isKindOfClass` Method with Swift 💻🤔 So, you're trying to convert some Objective-C code into Swift, but you're stuck on how to use the `isKindOfClass` method in the new syntax. Don't worry, I've got you covered! In this blog post, I'll walk

Cover Image for What"s NSLocalizedString equivalent in Swift?

What"s NSLocalizedString equivalent in Swift?

Published on September 2, 2023

# What's the Swift Equivalent of NSLocalizedString? If you're familiar with Objective-C, you may already be familiar with NSLocalizedString, which is used to localize strings in iOS apps. But what if you're working with Swift? What's the equivalent of NSL

Cover Image for How to create a String with format?
string-formatting

How to create a String with format?

Published on September 2, 2023

🔤😎 How to Create a String with Format in Swift? 😎🔤 Do you need to convert various types like `Int`, `Int64`, `Double`, etc. into a `String` using Swift? 🤔 Look no further! In this blog post, we'll explore how to accomplish this task easily and effici

Cover Image for Get top most UIViewController

Get top most UIViewController

Published on September 2, 2023

# 📚 Getting the Top Most UIViewController: Explained and Resolved! 💪 Have you ever struggled to get the top most `UIViewController` without having access to a `UINavigationController`? 🤔 Well, no worries! In this blog post, we're going to dive into thi

Cover Image for How to play a sound using Swift?

How to play a sound using Swift?

Published on September 2, 2023

# How to Play a Sound Using Swift? 🎵 Do you want to play a sound in your Swift application? Whether it's for a game, a music player, or any other project, this guide will help you through the process. While Swift has evolved over the years, some code t

Blog | Matheus Mello