How to create rounded images in SwiftUI

Creating rounded images in your app's UI can be a design choice to enhance the visual appeal and provide a more modern or aesthetically pleasing look.

Aug 26, 2024#swiftui

SwiftUI .task() vs .onAppear()

The exact moment that SwiftUI calls these methods depends on the specific view type that you apply to, but the action closures complete before the first rendered frame appears.

Aug 23, 2024#swiftui

On Temptation of Dark Mode

You don't know whether Dark Mode is overhyped or necessary but you know there is a real temptation of adding it to your sites.

Aug 21, 2024#design

How to sort a list of strings case-insensitively in Python

By default, Python’s sorting is case-sensitive, meaning uppercase letters come before lowercase letters. You can use the key parameter with str.lower to sort alphabetically.

Aug 10, 2024#python

How to rotate an image continuously using CSS

Rotating an image continuously in web development is typically done for visual effects and user engagement like loading indicator, rotating logos, or part of background.

Jul 30, 2024#css

Different meanings and uses of asterisk (*) operator in Python

The * operator in Python is versatile and its meaning depends on the context in which it is used, including multiplication, sequence repetition, argument unpacking, and more.

Jul 19, 2024#python

List comprehensions vs generator expressions in Python

They both have very similar syntax, which can be confusing at first, use the same basic structure with a loop and an expression, wrapped in either brackets or parentheses.

Jul 18, 2024#python

Different ways to concatenate strings in Python

String concatenation involves joining multiple strings together using operators like + or +=, suitable for simple cases where you need to combine fixed strings or variables.

Jul 17, 2024#python#strings

Different ways to reverse a string in Python

The string type in Python does not have a built-in reverse method. However, you can reverse a string using several different methods like slicing or reversed() function.

Jul 16, 2024#python#strings

How to use match-case statement in Python

A feature introduced in Python 3.10, which provides pattern matching capabilities, allows you to compare an expression against a series of patterns.

Jul 14, 2024#python