Software Development Notes
Home
Swift
Python
About
Software Development Notes
  • Define colors with Hue, Saturation and Brightness rather than Red, Green and Blue properties

    Nov 6, 2022 · 15 min read · color palette wheel  ·
    Share on:
    Define colors with Hue, Saturation and Brightness rather than Red, Green and Blue properties

    There are multiple ways to define colors in code. The most commonly used method is to specify values for the three primary colors - red, green and blue (RGB). This article explores the use of an alternative mechanism by specifying values for hue, saturation and brightness (HSB). The HSB properties can be used in a more …

    Read More
  • Display top section of Bar Charts with Swift Charts

    Oct 23, 2022 · 11 min read · bar chart chart swiftui  ·
    Share on:
    Display top section of Bar Charts with Swift Charts

    There are times when data in a bar chart has similar values for a number of the bars and it can be difficult to see the differences. One option is to zoom in on the top section of the bar chart. This article investigates a number of options and identifies the best approach for this in Swift Charts.

    Read More
  • Visualise the Matthew Effect with Swift Charts

    Oct 16, 2022 · 15 min read · bar chart chart matthew swiftui  ·
    Share on:
    Visualise the Matthew Effect with Swift Charts

    I came across the Matthew effect recently, which struck me as very unfair so I wondered if I could reproduce the results demonstrated. This article outlines the Swift code for an app to test the redistribution of coins in a closed population based on random coin tosses between agents in the population.

    Read More
  • Create a circular slider in SwiftUI

    Sep 25, 2022 · 9 min read · slider circle swiftui  ·
    Share on:
    Create a circular slider in SwiftUI

    A Slider control is a UI control that allows the user to select a value from within a range of values. In SwiftUI, it is usually presented as a thumb selector on a linear line. There are times when it might be better to present this type of selector as a circle with the thumb moving around the circumference. This …

    Read More
  • Create a bar chart with SwiftUI Charts in iOS 16

    Sep 11, 2022 · 8 min read · bar chart chart swiftui  ·
    Share on:
    Create a bar chart with SwiftUI Charts in iOS 16

    At WWWDC 2022, Apple introduced SwiftUI Charts, which makes it easy to create various charts within SwiftUI views. This article demonstrates how to quickly create a bar chart and customise the chart containing multiple sets of data.

    Read More
  • Customise a line chart with SwiftUI Charts in iOS 16

    Aug 14, 2022 · 11 min read · line chart Area chart chart swiftui  ·
    Share on:
    Customise a line chart with SwiftUI Charts in iOS 16

    SwiftUI Charts introduced in iOS 16, can present data in an intuitive visual format and can be created quickly using SwiftUI Charts. This article demonstrates a couple of ways to customise a line chart and combine with an area chart to present data.

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Eric Callanan

Lifelong learner, Software Engineering Manager, Passionate, Curious
Read More

Recent Posts

  • Can ChatGPT create an iOS app in SwiftUI - part 1
  • How to cancel a background task in Swift
  • Use async let to run background tasks in parallel in Swift
  • ArraySlice with range operator and Prefix in Swift
  • Add horizontal scroll to charts with SwiftUI Charts in iOS 16
  • NavigationSplitView with Employee and Department models
  • Define colors with Hue, Saturation and Brightness rather than Red, Green and Blue properties
  • Display top section of Bar Charts with Swift Charts

Tags

SWIFTUI 69 PYTHON 28 SWIFT 13 PANDAS 12 PATH 12 BAR-CHART 10 MVVM 8 MATPLOTLIB 7 PLOTLY 7 ANIMATION 6 CANVAS 6 CHART 6 COVID-19 5 SHAPE 5
All Tags
2D2 3D2 ACTIVITY-RING1 ADDCURVE1 AI1 ALGORITHM1 ANGULARGRADIENT1 ANIMATABLEDATA4 ANIMATION6 AREA-CHART1 ARRAY1 ARRAYSLICE1 ASYNC3 ASYNC-LET1 AWAIT3 AXIS2 BAR-CHART10 BUTTON1 BUTTONSTYLE1 CANCEL1 CANVAS6 CARD1 CHART6 CHATGPT1 CIRCLE1 COLOR1 COMPACTMAP1 CONCAT1 COVID2 COVID-195 CROSS-PRODUCT1 DATAFRAME3 DEPENDENCY-INJECTION1 DI1 DICTIONARY1 DIVISION1 DOT-PRODUCT1 ENUMERATE1 FIBONACCI1 FILE1 FILTER1 FLATMAP1 FLIP1 FLOOR1 FOREACH1 FORM1 GEOMETRYREADER1 GEOPANDAS1 GEOPLOT1 HSTACK1 ILOC1 IMAGE2 INDEX1 IPYWIDGETS1 ITERATE1 JSON2 JSONDECODER1 LINE-CHART4 LIST1 LOC1 LOOP1 MACOS1 MAP1 MAPVALUES1 MATHPLOTLIB4 MATPLOTLIB7 MATTHEW1 MINIMAX3 MODAL1 MONTY-HALL3 MVVM8 NAVIGATION2 NAVIGATIONSPLITVIEW1 NSSAVEPANEL1 PALETTE1 PANDAS12 PATH12 PERFORMANCE2 PHOTO1 PIE-CHART1 PLOTLY7 POLYGON1 PREFIX1 PROBABILITY3 PROGRESS1 PROGRESSVIEW1 PUZZLE1 PYTHON28 QR-CODE1 RECURSION1 REDUCE1 ROMAN-NUMERALS1 SCROLL1 SHADING1 SHAPE5 SLIDER2 SPEED1 STAR3 STYLE1 SWIFT13 SWIFTLINT1 SWIFTUI69 TABULAR-DATA1 TABVIEW1 TASK3 TDD4 TEXT2 TIC-TAC-TOE5 TIMELINEVIEW4 TIMING1 UI-TESTING1 UNIT-TEST1 UNIT-TESTING1 USERDEFAULTS1 VECTOR4 VECTORARITHMETIC4 VSTACK1 WHEEL1 WHERE1 ZIP1 ZSTACK1
[A~Z][0~9]