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 […]
Useful extension functions to decode Json from Bundle and remote URL with SwiftUI examples
5 min read Here are two useful extension functions for decoding Json data into structs or objects of any type. The first one is an extension function of Bundle for decoding any JSON file stored in your local bundle. The second one is an extension function of URLSession for decoding any JSON data from remote URL.
JSON parsing and examples of creating views in loop with SwiftUI
4 min read Most of our apps need to deal with JSON parsing these days. Especially when your apps need to load data from REST API which provides data in the form of JSON. With SwiftUI, the use of ForEach and List that allow the creation of views in a loop with ease, making it better to have […]
A first look at SwiftUI stacks, VStack, HStack, ZStack and build some combined views
3 min read SwiftUI is the new way of designing and developing your UIs which has been introduced by Apple since iOS 13. It’s a new framework which allows you to write less code when developing the user interfaces of your iOS apps.
Changing this blog into a programming blog, it’ll be about swift, kotlin, react-native & more
2 min read Initially, this blog was intended to record some of my game development progresses. But due to some changes in the past couple of months, I’ve now switched to focus more on developing a number of iOS & Android mobile apps that involve several service platforms; as one of my passion projects. And what I’m doing […]