Swiftable Weekly Bytes #4
This series is a gateway to fostering collaboration, sharing knowledge, and promoting the works of talented iOS developers.
Welcome to Swiftable Weekly Bytes
Here are the recommended articles for this week:
Benefits of using #pragma mark in Swift
As a Swift developer, you may have come across the term #pragma mark
in your code or while reading through documentation. This seemingly cryptic phrase is not unique to Swift; it's actually a preprocessor directive used in various programming languages, including Swift and Objective-C.
In this blog post, you'll dive into the world of #pragma mark
to understand what it is, how it works, and why it's a valuable tool in your Swift development toolbox.
Ultimate guide on Timer in Swift
You often face requirements where you need to perform a particular task repeatedly within a particular time interval, or scenarios where you need to perform certain actions after a defined time. These are the ideal conditions where you could leverage Timers in your codebase.
In this article, you will learn about repeating and non-repeating timers and how to create them, Timer Tolerance, and RunLoop Modes. Click here to read this article:
Automating iOS Apps with XCTest in Swift
In the ever-evolving world of iOS app development, ensuring the quality and reliability of your app is paramount. Manual testing can be time-consuming and error-prone, which is where automation testing comes to the rescue.
In this article, we’ll explore how XCTest (Apple’s built-in testing framework) can be your go-to tool for conducting Unit Testing, Performance Testing, and UI Testing in iOS apps.
Beginner’s Guide: SwiftUI and Additional Essentials
If you’re new to iOS development or just beginning your SwiftUI journey using MVVM, this article is for you. Because writing clean and structured code is quite important for you, this article will guide you with some amazing tips to follow while making apps in SwiftUI using MVVM Architecture.
Click here to read amazing tips:
iOS Interview Guide: Swift Initializers
In your interviews, Swift initializers are very important. There are different initializers available in Swift that encountered multiple questions in the interviews. Be ready to prepare these questions for your iOS interviews as these are the most common questions for interviews.
In this article, you will find 25 top interview questions on Default, Memberwise, Designated, Convenience, Failable, and Required Initializers in Swift.
SOLID Principles in Swift
They provide guidelines for creating well-structured, flexible, and understandable code. Applying these principles in Swift, like in any programming language, is important for several reasons.
In this article, you will find the explanation of all 5 principles with the examples. Don’t miss out on this amazing article to read.
Thank you for your support !!
We always try to recommend practical guides and amazing stuff based on iOS, Swift, SwiftUI, or anything valuable for you.
Help to grow each other:
- Do claps if you really find it useful somehow 💛
- Do share with your friends to help them 👬
- Do comment in case of any question 💬
- Connect if you want to include your article here 🤝
Follow Swiftable for more updates 👍
Keep learning !!