print() vs dump() in Swift: What’s the Difference?
Discover the key differences between Swift's `print()` and `dump()` functions. Understand their impact on your development.
An iOS Swift blog with tutorials and guides to build better mobile and mac apps. Here I share tips and tricks I learned in my experience with iOS development.
Discover the key differences between Swift's `print()` and `dump()` functions. Understand their impact on your development.
Learn how to integrate Firebase AI Logic into your iOS app with Swift to build dynamic, Gemini AI-powered features.
This unknown Xcode shortcut will allow you to close all the tabs, keeping the selected one open.
Discover how to get read and write permission to user's Mac folders and files in an app with Sandbox enabled.
In this article we are going to learn how to apply a specific colour scheme to a View regardless of the system dark mode.
See how to fix the “No Such File or Directory“ error in Xcode. It can be frustrating to debug since it can have multiple causes.
See how to fix the “Build input file cannot be found“ error in Xcode. It can be caused by different reasons.
Make you code easier to read formatting your functions to multiple lines with the option 'Format to Multiple Lines' in Xcode 15.
Discover how to fix the 'Some files could not be transferred (code 23)' error connected to Cocoapods.
See how to fix the “Cycle Inside“ error in Xcode. This error happens because there is an issue with the order of scripts.
Discover how to apply hierarchical styling to text, buttons, shapes, images and labels. Improve your UI and UX with this styling.
Discover how to create a background blur effect and give more importance to your text in SwiftUI using the new materials.
Discover how to inset a List content using a dedicated ViewModifier in SwiftUI. How to add a button at the bottom of a List.
See how to use CoreData database with SwiftUI. Syncing changes from CoreData to every View of your app.
Discover the SwiftData framework built on top of CoreData. Save and fetch data locally. Available for Xcode 15, Swift and SwiftUI.
See how to convert fetched data from a REST API to entities and persist them to CoreData, the built-in local database of Apple.
Learn how the abstract factory pattern allows you to improve you codebase making it more readable and maintainable.
Learn the basics of dependency injection with Swift and Xcode. It will allows you to inject dependencies making classes flexible.
See how to fix the “Missing file libarclite“ error in Xcode. This is due to libraries with minimum deployment target of iOS 11.
Discover the new Swift Macro, speed up your workflow and make your code easier to read. Available for Swift 5.9 and Xcode 15.
Discover the new SwiftUI Charts APIs that enables you to create scrollable chart easily. Available for Xcode 15 and iOS 17.
See how to fix the “Missing package product“ error in Xcode caused by some Swift Packages added through SPM.
Learn how to create a page controller that automatically changes page with the new UIPageControlTimerProgress component.
Use the new palette picker and menu style to display options as rows of compact elements in UIMenu and Menu View in iOS 17.
Improve your code with inline if-else and switch statements available in Swift 5.9. Make your codebase less tedious to write.
Automatically generate colors and images resources from .xcassets and avoid typos in your code with autocompletion in Xcode 15.
Discover what's new in Xcode 15 that will help speed up your workflow and it will make you developer life easier.
Discover all the new operating systems, Macs and Vision Pro with visionOS presented in the WWDC 23 by Apple.
Discover the handy PasteButton available in iOS 16 and SwiftUI, that will allow users to easily paste content in your app.
Handle empty states with the new SwiftUI ContentUnavailableView. Available for iOS 17, macOS 14, tvOS 17 and watchOS 10.
Check out this sample of the Persistence Controller with CloudKit generated by Xcode while creating a new project.
Create beautiful and highly customisable bar, line, radar charts and many more with FLCharts, a flexible, easy-to-use library.
Discover different ways to use Markdown with the Text element in SwiftUI to easily add markdown text to your app.
Learn how to use the measurements APIs to create custom units and convert units of measure easily and effortlessly with Swift.
Learn how to use the measurements APIs to create custom units and convert units of measure easily and effortlessly with Swift.
See how to use the enableWaterLock() API of WatchKit to disable the Apple Watch touch screen to prevent accidental taps.
Discover why sometimes the sync between CoreData and CloudKit do not work in production but it does while developing.
Discover what will be presented during WWDC 23 by Apple according to Mark Gurman. iOS and iPadOS 17, watchOS 10, xrOS and headset.
Discover how to persist user's Mac folders and files permissions across app launches in an app with Sandbox enabled in Xcode.
See how to take a ready to use screenshot of the Xcode Simulator embedded in the device bezel without any shadow or toolbar.