ylliX - Online Advertising Network

A photographer offers an unexpected view of the US — through its many strip clubs | CNN

CNN  —  Some people travel the world in search of adventure, while others seek out natural wonders, cultural landmarks or culinary experiences. But French photographer François Prost was looking for something altogether different during his recent road trip across America: strip clubs. From Miami to Los Angeles, Prost’s latest book “Gentlemen’s Club” charts his route […]

Understanding SwiftUI view lifecycles

I wrote an app called SwiftUI View Lifecycle. The app allows you to observe how different SwiftUI constructs and containers affect a view’s lifecycle, including the lifetime of its state and when onAppear gets called. The code for the app is on GitHub. It can be built for iOS and macOS. When we write SwiftUI […]

Graduating from View IDs

I found an old screen in Cash App today that wasn’t retaining its scroll position across configuration changes. A peek into git history revealed that the author forgot to assign an ID to its scrollable layout for enabling state restoration. And would you even blame them? Sure, View IDs are necessary, but maintaining them manually […]

Concerning Jetpack Compose

Jetpack Compose is an intriguing library but is not without concerns. The Jetpack Compose library provides the ability to create declarative and reactive UIs written in Kotlin for Android. It’s another attempt to avoid XML layout files by allowing the creation of layouts in a DSL-esque manner. The library borrows heavily from cross-platform application frameworks […]