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 […]