Egzon Pllana Portfolio
-

Tagged: Swift

12 articles tagged “Swift”.

All articles
11 min read

From 0 to over 1,000 Unit Tests: The DI Framework Behind It

Why I built OrbitCore, an open-source Swift DI container with three retain policies, thread-safe lazy injection, and a test pattern that scaled past 1,000 unit tests.

8 min read

How I Built an Offline Photo Geocoding Engine That Clusters 8,000 Photos in Under 5 Seconds

Replacing Apple CLGeocoder with embedded GeoNames data, a K-D Tree, and a chain expansion algorithm to geocode and cluster thousands of photos offline in seconds.

8 min read

6 Problems With NSLocalizedString That Made Me Build LocalizationEngine SDK

Why Apple's built-in localization tools fall short for multi-language iOS apps, and the open-source Swift Package I built to fix them.

9 min read

Implementing Apple App Attest for iOS API Security - No More Static Secrets

How Apple App Attest replaces static shared secrets with per-device hardware keys in the Secure Enclave to secure iOS API requests.

3 min read

From Network Chaos to Cached Harmony

How I replaced scattered, redundant contact API calls with a multi-layered, reactive caching architecture in a SwiftUI app using Clean Architecture.

4 min read

How I Stopped a Silent Memory Leak in My iOS App

How I diagnosed a silent SwiftUI memory leak, achieved 85% memory reduction on tab switches, and open-sourced a real-time memory profiler.

2 min read

EventHorizon - A thread-safe networking layer in Swift with Sendable and async-await

EventHorizon is a lightweight, thread-safe Swift package for building a clean, type-safe network communication layer with Swift 6, Sendable and async/await.

5 min read

The important difference between RunLoop.main and DispatchQueue.main

Why a Combine pipeline can pause UI updates during scrolling, and how the choice between RunLoop.main and DispatchQueue.main on receive(on:) affects value delivery.

11 min read

Understanding Concurrency in Swift 6 with Sendable protocol, MainActor, and async-await

A practical guide to Swift 6 concurrency: async/await, MainActor, the Sendable protocol, actors, TaskGroup, and more for safe, modern asynchronous code.

7 min read

Building a generic, thread-safe Networking Layer in Swift 6 with Interceptors

Build a generic, thread-safe networking layer in Swift 6 using the EventHorizon package, with async/await, Sendable, and network interceptors.

8 min read

Building the Airbnb Host Passport view in Swift 5.9 on iOS

Recreating the Airbnb Host Passport as a flippable, book-like multi-page view in UIKit using transparent views and CATransform3D 3D rotations.

8 min read

Drawing a Gauge View with Swift 5.9 on iOS

Building a custom UIKit GaugeViewXK using CAShapeLayer, CAGradientLayer, CADisplayLink, and trigonometry to draw an animated, gradient gauge.