Sitemap
A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.
Pages
Posts
iOS Advanced UI Components: Custom Views and Complex Interactions
Published:
Creating sophisticated iOS applications requires building custom UI components that go beyond standard UIKit and SwiftUI controls. This guide explores advanced UI development techniques, custom view creation, complex gesture handling, and performance optimization for custom components.
iOS System Design: Building a Real-time Messaging System
Published:
Building a real-time messaging system within an iOS app requires careful consideration of network connectivity, message delivery, offline support, and user experience. This guide explores the architecture and implementation of a robust messaging system that handles real-time communication, message persistence, and seamless user interactions.
iOS Advanced Core Data: Complex Relationships and Performance Optimization
Published:
Core Data is a powerful framework for managing persistent data in iOS applications. However, building complex data models with multiple relationships while maintaining performance requires careful design and optimization. This guide explores advanced Core Data techniques, complex relationship management, and performance optimization strategies.
iOS System Design: Building a Complex Photo Editing System
Published:
Designing a complex photo editing system within an iOS app requires careful consideration of performance, memory management, and user experience. This guide explores the architecture and implementation of a professional-grade photo editing system that handles multiple filters, real-time previews, and efficient memory usage.
iOS Advanced Memory Management: ARC, Weak References, and Memory Leaks
Published:
Memory management is crucial for iOS app performance and stability. While Swift’s Automatic Reference Counting (ARC) handles most memory management automatically, understanding weak references, retain cycles, and memory leaks is essential for building robust applications. This guide explores advanced memory management techniques with real, working code examples.
gRPC vs GraphQL vs JSON: A Comprehensive Comparison for iOS Development
Published:
In the rapidly evolving landscape of software development, choosing the right data communication protocol can significantly impact application performance, scalability, and developer experience. This comprehensive guide explores three prominent approaches to data exchange: gRPC, GraphQL, and JSON, providing insights into their strengths, weaknesses, and ideal use cases.
Bitrate Adaptation in iOS
Published:
In my previous post, I talked about video encoding and streaming in iOS. This post is a quick guide to implementing adaptive bitrate streaming in iOS.
Video Encoding and Streaming in iOS: A Comprehensive Guide
Published:
A quick guide to video encoding and streaming in iOS with the help of Claude AI.
HTTP Response Codes: Not All Heroes Wear 200 (OK)
Published:
As an iOS engineer, I’ve spent more time wrestling with UI constraints and SwiftUI lifecycles than diving deep into the intricate world of HTTP response codes. But recently, a quirky little encounter with a 304 status code sparked my curiosity – and now, I’m here to share a quick, hopefully entertaining tour of these network communication cryptograms.
XCTest vs Swift Testing: When Unit Tests Grow Up 🚀🧪
Published:
Listen up, fellow code warriors! Remember the days when writing unit tests felt like wrestling an angry octopus? Well, Apple’s been working some magic, and the new Swift Testing framework is here to save our sanity (and our carpal tunnels).
Mission Impossible: Monetizing Your GitHub Blog (Without Exposing Your Secrets!) 🚀
Published:
Hey there, aspiring blog mogul! 👋 Ready to turn your GitHub-hosted masterpiece into a money-making machine without accidentally sharing your API keys with the entire internet? Buckle up, because we’re about to embark on a top-secret mission that would make Ethan Hunt jealous. 🕵️♂️
Swift Dependency Injection: Your Code`s Personal Therapist 🛠️🧠
Published:
Dependency Injection (DI) is like a magical organizational wizard for your app architecture—think of it as the Marie Kondo of coding, making sure every dependency “sparks joy” and sits exactly where it should! 🧙♂️✨ In this post, we’ll dive into why DI is the superhero your codebase deserves, explore some cool frameworks, and even build a DIY dependency injection container that’ll make your code sing. 🚀
iOS Machine Learning: Core ML and Vision Framework Integration
Published:
Machine learning has become an integral part of modern iOS applications. Core ML and Vision frameworks provide powerful tools for integrating AI capabilities into your apps. Let’s explore practical implementations with real, working code examples.
iOS Security: Implementing Biometric Authentication and Keychain
Published:
iOS security is crucial for protecting user data and ensuring app integrity. Modern iOS apps need robust authentication mechanisms using biometrics and secure storage with Keychain. Let’s implement comprehensive security solutions with real, working code examples.
Swift Concurrency: Mastering async/await and Actors
Published:
Swift concurrency with async/await and actors has revolutionized how we write concurrent code in iOS. This modern approach eliminates callback hell and makes concurrent programming more intuitive. Let’s explore practical implementations with real, working code examples.
iOS App Architecture: MVVM with Combine and SwiftUI
Published:
Modern iOS development requires robust, scalable architecture patterns that can handle complex business logic while maintaining clean, testable code. MVVM (Model-View-ViewModel) combined with Combine and SwiftUI provides a powerful foundation for building maintainable iOS applications. In this comprehensive guide, we’ll explore advanced MVVM patterns with real, working code examples that demonstrate best practices for iOS app architecture.
iOS Networking with URLSession: Building Robust API Clients
Published:
Modern iOS apps rely heavily on network communication to fetch data, upload content, and interact with backend services. URLSession is Apple’s powerful networking framework that provides a robust foundation for building reliable API clients. In this comprehensive guide, we’ll explore advanced URLSession techniques with real, working code examples that will help you build scalable, maintainable networking layers for your iOS applications.
Building a Robust Background Sync Mechanism for Offline-First Apps
Published:
Today we will build a robust background sync mechanism for offline-first apps.
Swift vs. Objective-C Global Variable
Published:
In WWDC 2024’s Swift 6 Migration, Ben from Apple’s Swift team mentioned that there is a big difference for the global variable (mutatble) between Objective-C and Swift.
WWDC 2024 - Lockscreen More Customizable
Published:
In the WWDC 2024 today, Apple show cased that the lock screen bottom camera and flashlight buttons can be customizable moving on! Make sure to adopt this in your app.
Swift and GO`s defer in GCC and Clang
Published:
In Swift and Go, the defer
statement is a powerful feature that allows you to execute code just before the current scope exits. This can be incredibly useful for resource management, ensuring that files are closed, or memory is freed regardless of how the scope is exited (e.g., normal return or error).
Covert Video to GIF with Shell script
Published:
I wrote this gist long time ago and got quite a bit comments from the community. 🙏
iOS/MacOS Tricks to Debug/Detecting Ambiguous Auto Layouts Issues
Published:
One of my previously posted gists.
iOS Core Data Optimization: Building Scalable Data-Driven Apps
Published:
Core Data is Apple’s powerful framework for managing the model layer objects in your iOS applications. However, as your app grows and data complexity increases, Core Data performance can become a bottleneck. In this comprehensive guide, we’ll explore advanced Core Data optimization techniques with real, working code examples that will help you build scalable, high-performance data-driven iOS apps.
Top 10 Swift 5.7 Syntax Sugar
Published:
Swift has continually evolved to make code more concise and readable without compromising performance. The latest Swift version 5.7 introduces several syntactic sugar features that make coding in Swift even more delightful. Here are the top 10 syntax sugar features with examples:
SwiftUI Performance Optimization: Building Lightning-Fast Apps
Published:
SwiftUI has revolutionized iOS development with its declarative syntax and powerful features. However, as apps grow in complexity, performance can become a critical concern. In this comprehensive guide, we’ll explore advanced SwiftUI performance optimization techniques with real, working code examples that you can implement in your projects today.
Top 5 Objective-C Language Performance Drawbacks
Published:
Objective-C, a primary language for iOS and macOS development, offers a robust set of features and a rich ecosystem. However, as with any programming language, it has its performance drawbacks. In this blog, we’ll explore the top five performance-related limitations of Objective-C that developers should be aware of.
playground
My Mini Candy Crush! 🍬🍭🍪✨
Published:
Vanilla JS Version! Simple version with endless life. There is no dropping animation upon 3-in-chain happens. New tiles will re-spawn in place with simple popping animations.
🔢 Simple Math Game For Kids ✏️ 🎮
Published:
Home made simple math addition / subtraction game for kids!
🎮 Simple Positioning Logic Game For Kids 🎯
Published:
Home made simple postioning logic game for kids!
portfolio
Car Payment Is The Biggest Reason That Keeps You Poor
Published:
I will do the math here to show how to lose 143% in investiment return in just 6 years
🏦 2024 Credit Card Cashback Calendar 💳
Published:
2024 Quarterly Calendar
My Net Worth Journey
Published:
Last Update: 2024/12
publications
Paper Title Number 1
Published in Journal 1, 2009
This paper is about the number 1. The number 2 is left for future work.
Recommended citation: Your Name, You. (2009). "Paper Title Number 1." Journal 1. 1(1). http://academicpages.github.io/files/paper1.pdf
Paper Title Number 2
Published in Journal 1, 2010
This paper is about the number 2. The number 3 is left for future work.
Recommended citation: Your Name, You. (2010). "Paper Title Number 2." Journal 1. 1(2). http://academicpages.github.io/files/paper2.pdf
Paper Title Number 3
Published in Journal 1, 2015
This paper is about the number 3. The number 4 is left for future work.
Recommended citation: Your Name, You. (2015). "Paper Title Number 3." Journal 1. 1(3). http://academicpages.github.io/files/paper3.pdf
Car Payment Is The Biggest Reason To Make People Poor
Published in GitHub Journal of Bugs, 2024
This paper is about fixing template issue #693.
Recommended citation: Your Name, You. (2024). "Paper Title Number 3." GitHub Journal of Bugs. 1(3). http://academicpages.github.io/files/paper3.pdf
talks
Talk 1 on Relevant Topic in Your Field
Published:
This is a description of your talk, which is a markdown files that can be all markdown-ified like any other post. Yay markdown!
Conference Proceeding talk 3 on Relevant Topic in Your Field
Published:
This is a description of your conference proceedings talk, note the different field in type. You can put anything in this field.
teaching
Teaching experience 1
Undergraduate course, University 1, Department, 2014
This is a description of a teaching experience. You can use markdown like any other post.
Teaching experience 2
Workshop, University 1, Department, 2015
This is a description of a teaching experience. You can use markdown like any other post.