Home About Contact

 

How to create custom Shapes in SwiftUI

post thumbnail techchee

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

Posted on 04 May 21  

Handling sign in and sign out with FirebaseUI in SwiftUI – the MVVM way

post thumbnail techchee

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.

Posted on 04 Apr 21  

Add Google OAuth, FB, Twitter sign-in with FirebaseUI in your SwiftUI app

post thumbnail techchee

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.

Posted on 27 Mar 21  

Scheduling local notification the MVVM way in SwiftUI

post thumbnail techchee

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.

Posted on 15 Mar 21  

Handling local notification in SwiftUI

post thumbnail techchee

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.

Posted on 11 Mar 21  

Build a PDF composer app with PDFKit – the SwiftUI and MVVM way

post thumbnail techchee

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

Posted on 27 Feb 21  

How to build app Settings page with NavigationView, List, Section & NavigationLink in SwiftUI

post thumbnail techchee

4 min read It’s very often that we need to provide a Settings page in our apps, to let users twist with a number of settings including editing their user profile, setting various preferences and even viewing some additional reports etc.

Posted on 18 Feb 21  

SwiftUI MVVM with practical examples

post thumbnail techchee

5 min read MVVM – the Model View ViewModel architecture, is a better design approach for application to ensure there is no tight coupling between your application UI, business logic and the data layer. So, any future changes of any of these components should not affect one another.

Posted on 07 Feb 21  

Handy withNavigationView() custom modifier for SwiftUI – to add navigation capabilities when needed

post thumbnail techchee

5 min read In SwiftUI, a screen must have a NavigationView in order for it to be able to push to another screen. For example in the diagram below, Screen 1 contains a NavigationLink embedded in a NavigationView, will push to Screen 2 when tapped. And Screen 2 also has a NavigationLink, will push to Screen 3 when […]

Posted on 29 Jan 21  

Navigation bar title style, color and custom back button in SwiftUI

post thumbnail techchee

5 min read We’ve seen how to simply create NavigationView and NavigationLink in SwiftUI to allow you to push and pop screens. Now, we look at how we can set the title, change the navigation bar color and the back button etc.

Posted on 25 Jan 21  
Our FB Twitter Our IG Copyright © 2021