App Academy

Software Stuff

Tag: Swift

  • Swift 6 Migration for Multi-Module Apps

    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…


  • Preventing Retain Cycles in Automated Tests Using addTearDown

    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…


  • SOLID in the Real World: Everyday iOS App Development

    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…


  • GeometryReader & MatchedGeometryEffect: A Practical Guide

    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: Simplifying Photo Management

    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…


  • The Economics of End-to-End vs. Unit Testing

    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

    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…


  • Running Automated Tests via CI Pipelines: GitHub Actions

    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…


  • Preventing Image Flickering in iOS Table Views and Collection Views: Best Practices for Cell Reuse

    “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…


  • Test Doubles: Why Stub&Spies Are Preferred Over Mocks

    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…


  • Mastering Mobile App Development: The Importance of System Analysis  & Drawing Diagrams

    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…


  • Composition Layer

    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

    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

    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,…


  • Memory Management in Swift

    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…


  • Data Structures & Algorithm Approaches in Swift

    https://github.com/rozeridilar/Data-Structure-Swift


  • Time Tracker IOS Watch Kit App

    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…


  • Swift 4 Skeleton Project

    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…


HOME

Hope you’ll enjoy Swifty Posts!