How To Build a Dynamic Filter Selection Scroll View with CoreImage in SwiftUI
7 min read In our previous post, we showed you how to build an Image Picker with the SwiftUI. Let’s continue on how to build a simple image filter that allows you to use CoreImage filter to add any image effect to a selected image from the image picker.
How to build a simple image picker with SwiftUI using UIViewRepresentable
5 min read SwiftUI, does not have a native component for directly accessing the photo library or camera. The way to do it with SwiftUI is to use UIViewRepresentable — a SwiftUI protocol that acts as a bridge, allowing us to integrate UIKit’s robust components seamlessly into SwiftUI views. One of our previous tutorial of building a PDF […]
How to build a simple AI text to image iOS app with Stable Diffusion, Python and SwiftUI
4 min read Stable Diffusion offers a way to generate image from text using AI or machine learning. The SDK is available only in Python at the time of this writing.
Convert SwiftUI view to an image, save or share it
3 min read The iOS 16 has introduced a way to convert your SwiftUI views to image. Let’s look at how it can be done. ImageRenderer is a new class introduced in iOS 16 for SwiftUI, which you can easily generate an image for your SwiftUI view in just a few lines of code as below:
How to create custom Shapes in SwiftUI
6 min read SwiftUI comes with quite a number of built-in 2D shapes such as Rectangle, Circle, Ellipse, Capsule, RoundedRectangle etc. If all these are not enough to fulfil your needs, you can also create your own custom shapes by using Path
Handling sign in and sign out with FirebaseUI in SwiftUI – the MVVM way
7 min read In the previous tutorial, we’ve learned how to add FirebaseUI to your Xcode project, how to present the FirebaseUI’s viewController in SwiftUI app using UIViewControllerRepresentable and how to deal with the various setups required by Google, FB etc for adding their respective sign-in capabilities to your SwiftUI apps.
Add Google OAuth, FB, Twitter sign-in with FirebaseUI in your SwiftUI app
8 min read This is a tutorial on how to add sign in capabilities in your SwiftUI app by using Firebase and the FirebaseUI. FirebaseUI is built on top of FirebaseAuth which comes with a number of drop-in authentication solutions including sign-in with email, phone, Apple and a number of social networks including Google , Facebook, Twitter etc.
Scheduling local notification the MVVM way in SwiftUI
6 min read In the previous tutorial, we’ve shown you how we can send, receive and handle local notifications with SwiftUI and now we are going to look at a practical example to build a simple app to schedule notification by using the MVVM design approach.
Handling local notification in SwiftUI
8 min read There are two types of notifications in iOS app, the local and remote notifications. The local notification is a handy way for you to send notifications right away from the app to the users without having to do it from the server side.
Build a PDF composer app with PDFKit – the SwiftUI and MVVM way
10 min read PDFKit is the framework by Apple that you need to display and manipulate PDF files in your app. PDF is useful so we can generate files that cannot be modified and shared or sent to others. This is especially useful for apps that need to generate receipts, bills, invoices or any other confidential or important […]