Swift 6 turns data-race checks from “nice to have” into “this won’t compile.” If your app is split across many internal frameworks, the smoothest path is incremental: surface Swift 6…
When writing automated tests, it is important to prevent retain cycles. A retain cycle occurs when two objects have a strong reference to each other. This can happen when an…
We all hear about SOLID principles, but what does SOLID actually mean in the trenches of real-life iOS app development? Why should these five letters matter to you? If you’ve…
Geometry Reader GeometryReader in SwiftUI by definition is a container view that provides access to the size and coordinate space of its view. But there should be some parent view…
PhotoKit and PhotosUI are at the heart of iOS photo management, providing unparalleled access to, display of, and interaction with photo assets. These frameworks are indispensable for anyone aiming to…
When it comes to iOS testing, automation tools are often a topic of heated debate among developers. Yet, stepping away from the technical back-and-forth, it’s the business perspective that frequently…
Using Core Data In-Memory Store An in-memory Core Data store operates directly within the app’s memory (RAM), providing a swift and efficient way to access and manage data. As the…
When it comes to testing, end-to-end tests may not provide immediate feedback compared to unit tests. However, by incorporating a solution that runs both unit and end-to-end tests through an…
“Image Flickering” or “Cell Reuse Bug,” occurs when you scroll a UITableView or UICollectionView rapidly, and you see the image from one cell appearing in another cell that should display…
When it comes to testing modules in integration, it’s beneficial to use end-to-end tests. However, it’s not practical or realistic to use end-to-end tests when testing individual modules. Let’s imagine…
When developing mobile apps, it’s important to find a balance between solving current issues and preparing for future changes. This balance involves designing the system in a way that can…
Let’s say you have two services: a remote service that fetches data from a server, and a local service that retrieves data from local storage. In this scenario, the goal…
Understanding Swift Performance Understand the implementation to understand performance Dimensions of Performance If we want to write fast Swift code, we’re going to need to avoid paying for dynamism and…
SwiftLint is a tool to enforce Swift style and conventions. It is developed by Realm. Installation: In this page, we will install SwiftLint via Homebrew. Open terminal and run Once installed,…
Swift uses ARC memory management model. Retain Cycles Problem: When two objects reference each other, or when capturing in closures may cause a retain cycles. 1. Referencing object increments object’s…
https://github.com/rozeridilar/Data-Structure-Swift
Hey Everyone! I have started to create some cool apps(or at least trying to create) for IOS WatchKit recently and noticed that it is way too different than IOS iPhone…
Hey everyone! Here is skeleton project for our swift projects with mvc, shared folders and some objective C libraries(for UI animations- ProgressHUD etc.) This project is also base of angela…
Hope you’ll enjoy Swifty Posts!