Peter Friesepeterfriese.hashnode.net·Nov 9, 2020Firebase Authentication: Migrating User DataThis article is part of a series of articles that explores building a real-world application using SwiftUI, Firebase, and a couple of other technologies. Here is an overview of the series and what we're building: In part 1 of the series, we focussed...Discuss·53 likes·178 readsFirebase
Marco Eidingermarcoeidinger.hashnode.net·Jun 28, 2022PhotosPicker on SwiftUIIn this blog post I'll show you how to use the new SwiftUI PhotosPicker API that was announced in the WWDC22 session What's new in the Photos picker. The new SwiftUI PhotosPicker API is available on all picker-supported platforms: iOS (16.0+) iPadO...Discuss·48 likes·2.1K readsSwiftUI
Peter Friesepeterfriese.hashnode.net·Oct 9, 2020The Ultimate Guide to the SwiftUI 2 Application Life CycleFor the longest time, iOS developers have used AppDelegates as the main entry point for their applications. With the launch of SwiftUI2 at WWDC 2020, Apple has introduced a new application life cycle that (almost) completely does away with AppDelegat...Discuss·42 likes·154 readsSwiftUI
Xavierxavier7t.hashnode.net·Apr 25, 2023Regex in SwiftUIUsing regular expressions (regex) can be a powerful tool in SwiftUI for validating user input and manipulating text. In this blog post, we’ll explore how to use regex in SwiftUI. The code in this post is available here. To use regex in SwiftUI, you f...DiscussiOS
Xavierxavier7t.hashnode.net·Apr 22, 2023onMove in SwiftUI ListSwiftUI provides a simple and elegant way to implement lists with the List view. But sometimes, we need to add some extra functionality to make our lists more interactive. One such functionality is "drag-and-drop" reordering of list items. In this bl...DiscussSwift
CS Diariescsdiaries.hashnode.net·Apr 21, 2023Asynchronous Event and Data Stream Handling in Swift with Combine FrameworkIn Swift, asynchronous programming is essential for developing high-quality applications. Asynchronous programming allows us to write code that executes concurrently, thereby avoiding blocking the user interface (UI) thread. One of the most popular f...DiscussSwift
Xavierxavier7t.hashnode.net·Apr 20, 2023Integrating UIKit into SwiftUIThere may be times when you need to use some of the traditional UIKit controls in your SwiftUI app. Fortunately, SwiftUI allows you to integrate UIKit components into your app seamlessly. In this blog post, we'll explore how to integrate UIKit into S...DiscussiOS
Xavierxavier7t.hashnode.net·Apr 19, 2023Image Caching in SwiftUICaching images is an important technique for optimizing the performance of your SwiftUI app. When you load an image, it can take time to fetch it from a remote server or read it from disk. By caching the image, you can avoid repeating this time-consu...DiscussiOS
Xavierxavier7t.hashnode.net·Apr 18, 2023withAnimation in SwiftUIAnimations are an important part of modern app development. They can make your app more engaging, intuitive, and fun to use. SwiftUI, Apple's new declarative UI framework, provides a range of powerful tools for creating fluid and dynamic animations. ...Discuss·10 likes·38 readsiOS
CS Diariescsdiaries.hashnode.net·Apr 18, 2023Powering Your Mobile App Development with Protocols: Use Cases and ExamplesPhoto by Brett Jordan on Unsplash Have you ever wondered how to make your code more modular and easier to maintain? Have you ever had to pass data between different parts of your app, but struggled to keep everything organized? If so, you may want to...DiscussSwift
CS Diariescsdiaries.hashnode.net·Apr 18, 2023The Ultimate Guide to Designing and Creating a Stunning Settings Page for Your iOS App with Swift…As an iOS developer, you know that creating an exceptional user experience is key to the success of your app. One of the essential components of any iOS app is a Settings page, where users can adjust the app’s behavior and preferences to their liking...DiscussSwift
CS Diariescsdiaries.hashnode.net·Apr 17, 2023SwiftUI Search: How to Add a Native Search Field to Your AppSearch is a common feature many apps need to provide a better user experience. With SwiftUI, you can easily add a search field to your app using the searchable modifier. In this article, you will learn how to use this modifier to filter data, display...DiscussSwift
CS Diariescsdiaries.hashnode.net·Apr 17, 2023Why You Should Use Structs to Model Data and Logic in SwiftPhoto by Marcello Gennari on Unsplash Swift is a powerful and expressive programming language that offers many features to make your code more readable, maintainable, and performant. One of these features is structs, which are custom data types that ...DiscussSwift