Archive

All Posts

202622 posts

202536 posts

  1. How to Detect Text Truncation in SwiftUI?

    Learn how to detect text truncation in SwiftUI using fixedSize and GeometryReader, and dynamically select adaptive layouts with ZStack and layoutPriority to ensure text content displays fully without ...

  2. My Hopes for Xcode

    Discover six key improvements Xcode needs—ranging from SPM support to AI enhancements—to stay competitive and reclaim its place as developers’ preferred tool.

202447 posts

  1. How to Tile Images in SwiftUI

    Explore two SwiftUI image tiling methods: resizable & foregroundStyle with ImagePaint. Learn a custom Image construction for SF Symbols tiling.

  2. Common Misconceptions About SwiftUI

    Explore common SwiftUI misconceptions, including its learning curve, cross-platform capabilities, and code volume. Understand its true potential for better app development.

  3. Impressions on WWDC 2024

    WWDC 2024 showcased Apple’s AI, Swift 6, SwiftData & SwiftUI updates. Explore how these impact future development and offer new possibilities. Learn about Apple’s innovative approach.

202334 posts

  1. Pair Programming with AI

    Explore my experience rebuilding my blog with AI pair programming. Learn how I used AI tools like ChatGPT, Copilot, and Claude to master new languages, frameworks, and solve development challenges.

  2. Mastering ViewThatFits

    Explore SwiftUI's ViewThatFits: learn its rules, ideal size, usage, and how to recreate it with Layout protocol. Master adaptive layouts for your iOS apps.

  3. GeometryReader: Blessing or Curse?

    Explore GeometryReader's common problems in SwiftUI. Is it a curse or a blessing? Understand its layout, information retrieval, performance, and when to use it correctly. Includes new onGeometryChange...

  4. Mastering TipKit: Advanced

    Explore advanced TipKit: customize views beyond TipView, integrate with UIKit, enable cross-app data sharing, reuse Tip code, and address FAQs. Learn how to observe status & more!

  5. Mastering TipKit: Basics

    Explore Apple's TipKit framework for displaying tips in your apps. Learn how to define, initialize, and customize tips using SwiftUI. Discover rules, events, and display strategies.

  6. WWDC 2023, What’s New in Core Data

    Explore Core Data’s WWDC 2023 updates: composite attributes, Swift-friendly predicates, version checksum, deferred & staged migration. Learn how these enhancements benefit your data management.

  7. Five Years Since the Transplant

    Five years post kidney transplant, I'm sharing my health journey, from onset of kidney issues, dialysis, to transplant & recovery. Learn about my experience & health data.

  8. Building Cross-Platform SwiftUI Apps

    Learn how to build cross-platform SwiftUI apps. This article covers key aspects like compatibility, data sources and adapting to multiple windows, based on a presentation at the SwiftUI Technology Sal...

  9. AI Services that I am Currently Using

    Explore my current AI tools: Github Copilot for coding, Notion AI for text, Warp AI for terminals, MidJourney for art, and my mixed feelings about ChatGPT. Learn how AI enhances my workflow.

  10. Timing of onAppear Invocation

    Explore the timing of SwiftUI's onAppear modifier with evidence from new SwiftUI 4 APIs. Learn when onAppear is invoked: after layout, before rendering.

  11. MacBook Pro Usage Experience

    After a week with the MacBook Pro 14', I'm sharing my experience switching from an iMac, including data transfer, performance, and my impressions. Key takeaways: quiet operation, sufficient power, and...

  12. Layout in SwiftUI Way

    Explore SwiftUI's powerful layout system by using multiple methods to achieve one UI goal. Learn about offset, alignmentGuide, NameSpace, ScrollView and more.

202241 posts

  1. Reflections on iBug 16

    SwiftUI 4's unprecedented bugs in 2022 reflect a broader issue of rapid development in Apple & beyond. Explore the impact of constant change and OTA's evolution.

  2. Several Ways to Center Views in SwiftUI

    Explore various methods to center views in SwiftUI, including Spacers, alignment guides like ZStack and frame, and GeometryReader. Understand each method's principles, scenarios, and considerations.

  3. Mixing Text and Image in SwiftUI

    Explore how to mix text and images within SwiftUI's Text view. Learn techniques for dynamic sizing and text alignment. Includes practical examples and code.

  4. Creating Tables with Table in SwiftUI

    Learn how to use SwiftUI’s Table for creating interactive, multi-column tables on macOS & iPadOS. Explore features like sorting, selection, & implementing similar functionality on other platforms.

  5. Batch Operations in Core Data

    Explore Core Data's batch operations: principles, usage (delete, update, insert), advanced techniques, and essential considerations for efficient data handling.

  6. The Blogging Tools I'm Currently Using

    Explore the tools I use for blogging, from data & text editing (Typora, VSCode), to screen capture (iShot, RocketSim), format conversion, image editing & hosting. Boost your workflow!

  7. Mastering zIndex in SwiftUI

    Learn how to master zIndex in SwiftUI to control view layering, avoid animation issues, and use it effectively in various layout containers.

  8. Blog Hiatus Notice

    My blog, "Fatbobman's Blog," has been live for 2 years now. The initial purpose of writing this blog was to document my learning process through writing, to deepen my understanding, and to share my fi...

  9. Count Queries in Core Data: The Master Guide

    Explore various methods for querying and using count in Core Data, including countResultType, managed object context, result sets, relationships, and derived properties. Learn how to optimize count qu...

  10. Customizing Gestures in SwiftUI

    Customize native SwiftUI gestures with DragGesture, GestureState, tap locations, simultaneous gestures, and UIGestureRecognizerRepresentable for UIKit gesture bridging.

202140 posts

  1. Exploring Xcode Playground (Part 2)

    This article delves deeper into Xcode Playground, focusing on aspects such as auxiliary code, resource management, and exploring packages and Xcode projects with Playground. These tips and methods aim...

  2. Lifecycle of SwiftUI Views

    Explore the SwiftUI view lifecycle, including struct instance creation, view value trees, and the nuances of onAppear and onDisappear. Learn to optimize your SwiftUI code.

  3. Mastering Safe Area in SwiftUI

    Learn how to get safe area height in SwiftUI, read GeometryProxy.safeAreaInsets, use safeAreaInset, and control layouts with ignoresSafeArea.

  4. Mastering Core Data Stack

    Learn how to design a robust Core Data Stack, covering its functions, components like NSManagedObjectModel and NSPersistentStoreCoordinator, and configurations. Understand the evolution from basic set...

  5. Understanding SwiftUI's onChange

    Explore SwiftUI's onChange modifier: learn its features, usage, precautions, and alternatives. Understand how it observes values and triggers actions on change. Avoid common pitfalls for efficient cod...

  6. Using UIKit Views in SwiftUI

    Learn how to use UIKit views in SwiftUI, style them, and understand key considerations when wrapping a UITextField. Master UIViewRepresentable for seamless integration.

  7. Blog Update Journal

    I renovated my blog, diving into web technologies like CSS & JavaScript, mastering Visual Studio Code. This update added comments, responsive layout, & TOC.

  8. Mastering @AppStorage in SwiftUI

    Explore efficient, secure @AppStorage usage in SwiftUI without third-party libs. Solve data type limits, tedious declarations, and injection issues. Includes central injection.

202035 posts

  1. Adapting to iPad in SwiftUI

    Explore insights and lessons learned while adapting a SwiftUI app for iPad. Learn about device detection, layout adjustments, and navigation challenges. Key code snippets included.

  2. Discussing CoreData Usage in SwiftUI

    Explore lessons learned using CoreData in SwiftUI development over the past year. Discover insights on persistent storage, dynamic @FetchRequest, a transformation layer, and issues with NSPersistentCl...

  3. Discussing List and ForEach in SwiftUI

    Explore SwiftUI List & ForEach: Discover performance issues with ForEach when handling large datasets & learn how to optimize with List or SwiftUIX. Learn when to use ForEach.

  4. HowTO —— SwiftUI 2.0 LazyGrid

    Explore SwiftUI 2.0's native Lazy Grid control (LazyVGrid & LazyHGrid), replacing third-party libraries. Learn basic usage, mixing grids, and dynamic layouts.

  5. @FocusedBinding Overview

    Explore SwiftUI's @FocusedBinding for data sharing between views. Learn how to use FocusedValueKey to modify and bind data directly, bypassing traditional methods. Discover its uses and limitations.

  6. SwiftUI 2.0 —— Research on @StateObject

    Dive into SwiftUI 2.0's @StateObject, a new property wrapper for managing reference type data. Learn its lifecycle differences from @ObservedObject through practical examples and when to choose each f...

  7. @State Research in SwiftUI

    Explore SwiftUI's @State: its implementation, operation, and how it drives views with data. Learn to extend its functionality with examples. Dive into reactive programming.