blog logo
CHICIO CODING
Coding. Drawing. Fun.
HomeBlogArtAbout me
blog logo
CHICIO CODING
Coding. Drawing. Fun.
Add dark mode support on your website with SASS and prefers-color-scheme media query
Add dark mode support on your website with SASS and prefers-color-scheme media query

Dark mode support has been around for quite some time. Let's see how you can create a light theme and a dark theme for your website that will be selected automatically based on the user system preference. [...]

How to: create your SUPER simple dependency injector container in Swift
How to: create your SUPER simple dependency injector container in Swift

There are a lot of dependency injection framework in the open source swift world with really cool features like object graph, persistence etc. But what if all you need is a lightweight dependencies container? In this post I will show you how to create it by leveraging the Metatype Type, Generics, the Hashable protocol and the Equatable protocol. [...]

Create a custom TabBar in SwiftUI
Create a custom TabBar in SwiftUI

SwiftUI has been introduced by Apple during the last WWDC. I started to use it for a personal project to understand its potential. Let's see how I used SwiftUI to create a custom TabBar with modal and detail navigation. [...]

How to: enable Hermes JavaScript engine in your React Native app
How to: enable Hermes JavaScript engine in your React Native app

React native 0.60.4 has a new cool feature for Android: a new JavaScript engine called Hermes. Let's see how you can turn it on in your React Native application to get all its benefits. [...]

Implement offline tracking with Google Analytics in your Progressive Web App
Implement offline tracking with Google Analytics in your Progressive Web App

PWA offer great native alike offline capabilities. But what about tracking? In this tutorial I will show you how simple it is to implement offline tracking with Google Analytics in your PWA. [...]

Implement a pull to refresh component for you web application
Implement a pull to refresh component for you web application

Implementing a pull to refresh component in vanilla js for your progressive web app (PWA) it's really easy. Let's do it now! [...]

Web to native code communication on Android using JavaScript Interfaces
Web to native code communication on Android using JavaScript Interfaces

Javascript Interface can be helpful when you need to call native code from a webview on Android. [...]

Web to native code communication on iOS using WKScriptMessageHandler
Web to native code communication on iOS using WKScriptMessageHandler

Did you know that it is possible to call Swift/Objective-C code from the JavaScript code of a web page displayed inside a WKWebView? [...]

Clean Code: functions
Clean Code: functions

Let's learn how to write function in a clean way. [...]

Publish your Progressive Web App to the Google Play Store
Publish your Progressive Web App to the Google Play Store

You can now publish your progressive web apps to the Google Play Store using Trusted Web Activities without writing a single line of Java/Kotlin code. [...]

Intersection Observer API: speed up your web applications with lazy loading
Intersection Observer API: speed up your web applications with lazy loading

Intersection Observer can improve your web application performance by helping you to implement lazy loading of resources inside your web pages. [...]