blog logo
CHICIO CODING
Dirty clean code. Creative Stuff. Stuff.
HomeBlogArtAbout me
blog logo
CHICIO CODING
Dirty clean code. Creative Stuff. Stuff.
SwiftUI and the Text concatenations super powers
SwiftUI and the Text concatenations super powers

Do you need a way to compose beautiful text with images and custom font like you are used with Attributed String. The Text component has everything we need to create some sort of 'attributed text' directly in SwiftUI. Let's go!!! [...]

Widget iOS: how to fix the image bundling problem
Widget iOS: how to fix the image bundling problem

Discover how we had a long day debugging WidgetKit problems with images. [...]

Use SwiftUI Path and Shape to render your svg files: a practical example
Use SwiftUI Path and Shape to render your svg files: a practical example

Let's have some fun with SwiftUI by drawing an inspiration title component leveraging Path and Shape. [...]

Create a microfrontend app using module federation and dynamic configuration
Create a microfrontend app using module federation and dynamic configuration

We are used to the term microservice in the backend world. Is there a way to achieve the same architectural indipendence in the frontend world? Let's see how it is possible to create a microfrontend app by leveraging Webpack 5 module federation with a widget-based custom remote configuration. [...]

A custom module for Jackson object mapper using Java Service Provider
A custom module for Jackson object mapper using Java Service Provider

Sometimes you have custom Jackson object mapper imported from external modules/libraries. How can you customize their serialization/deserialization? Let's go to discover the power of Java Service Provider Interface. [...]

A simple react hook to detect scroll direction
A simple react hook to detect scroll direction

How do you detect scroll direction using React hooks? Let’s find out in this new post. [...]

Contract testing asynchronous messaging with Pact and MockK
Contract testing asynchronous messaging with Pact and MockK

In the last weeks I worked with my colleague Felice Giovinazzo on a new feature for the refund process. Let’s see how we used pact to test a message-based interaction between two microservices with Pact [...]

A Domain Driven Design dictionary for newbies
A Domain Driven Design dictionary for newbies

In the last months, I started to hear a lot of stuff about Domain Driven Design. What is DDD? What does it try to solve? This is a post for all the newbies (like me) that are searching for a definition of what DDD is, which are its main parts and what is its main goal. [...]

How to test your Swift source code on Linux: locally and on Github Actions
How to test your Swift source code on Linux: locally and on Github Actions

Quick tips (useful for open source projects) for testing your Swift source code on Linux locally and with Github Actions. [...]

Better organize tests and run them against multiple configuration with Xcode Test Plan
Better organize tests and run them against multiple configuration with Xcode Test Plan

Recently I added a lot of Unit and UI tests to RangeUISlider, one of my open source projects. Let's see how I grouped them and run them against multiple configurations with Xcode Test Plan. [...]

Unit testing in Kotlin with JUnit 5 and MockK
Unit testing in Kotlin with JUnit 5 and MockK

I recently discovered MockK, a mocking library created for Kotlin. Let's see how it is possible to write modern unit tests with MockK + JUnit 5. [...]