Software Development Notes
open-menu closeme
Home
Swift
Python
About
Software Development Notes
linkedin rss
  • Display top section of Bar Charts with Swift Charts

    calendar Oct 23, 2022 · 12 min read · bar chart chart swiftui  ·
    Share on: linkedin facebook copy
    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

    calendar Oct 16, 2022 · 16 min read · bar chart chart matthew swiftui  ·
    Share on: linkedin facebook copy
    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

    calendar Sep 25, 2022 · 10 min read · slider circle swiftui  ·
    Share on: linkedin facebook copy
    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

    calendar Sep 11, 2022 · 8 min read · bar chart chart swiftui  ·
    Share on: linkedin facebook copy
    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

    calendar Aug 14, 2022 · 11 min read · line chart Area chart chart swiftui  ·
    Share on: linkedin facebook copy
    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
  • Create a line chart with SwiftUI Charts in iOS 16

    calendar Aug 7, 2022 · 8 min read · line chart chart swiftui  ·
    Share on: linkedin facebook copy
    Create a line chart with SwiftUI Charts in iOS 16
    Apple introduced SwiftUI Charts at WWWDC 2022, which makes it incredibly easy to create charts within SwiftUI views. Charts are a great way of presenting visual data in a rich format that is easy to understand. This article shows how to easily create a line chart with so much less code than was previously used to …
    Read More
  • Reduce in Swift

    calendar Jun 4, 2022 · 5 min read · reduce  ·
    Share on: linkedin facebook copy
    Reduce in Swift
    Reduce is a simple way to perform an operation over each element in a collection and condense down to a single value. It is commonly used on a list of numeric values to add up all the values.
    Read More
  • Save an image to MacOS file system with SwiftUI

    calendar May 22, 2022 · 7 min read · NSSavePanel image file macos swiftui  ·
    Share on: linkedin facebook copy
    Save an image to MacOS file system with SwiftUI
    SwiftUI does not have a control to present an open/save dialog to the user to allow saving files to the macOS filesystem. One could build such a view from scratch, but it is easier to use NSSavePanel from AppKit. This article demonstrates how to use NSSavePanel to get the URL for the file to be saved and use …
    Read More
  • Map on collections in Swift

    calendar May 15, 2022 · 5 min read · map mapValues flatmap compactmap  ·
    Share on: linkedin facebook copy
    Map on collections in Swift
    Swift provides a number of map methods to transform elements in Swift collections and return the transformed data in a new Array. The transform is supplied in a trailing closure to the map function. This article looks at Map, FlatMap and CompactMap on collections in Swift as well as MapValues in Dictionary.
    Read More
  • Iterating over a Dictionary in Swift

    calendar May 8, 2022 · 10 min read · dictionary enumerate iterate  ·
    Share on: linkedin facebook copy
    Iterating over a Dictionary in Swift
    A dictionary stores a list of key/value pairs in an unordered structure that is fast and efficient at adding elements and finding elements by a key. Each element in the dictionary is identified using its key, which is a hashable type such as a string or number.
    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Eric Callanan

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

Recent Posts

  • Create fake data with Faker in Python
  • How to create a binary tree using an array in Swift - part 2
  • How to create a binary tree using an array in Swift - part 1
  • Scroll transition effects in iOS 17
  • Conway's Game of life with SwiftUI
  • Create a Pie or Donut chart with SwiftUI Charts in iOS 17
  • Animate background with color gradient in SwiftUI
  • RadialGradient in SwiftUI

Tags

SWIFTUI 82 PYTHON 29 PATH 13 SWIFT 13 PANDAS 12 BAR-CHART 10 MVVM 8 ANIMATION 7 CANVAS 7 CHART 7 COLOR 7 MATPLOTLIB 7 PLOTLY 7 COVID-19 5
All Tags
2D2 3D2 ACTIVITY-RING1 ADDCURVE1 AI3 ALGORITHM1 ANGULAR1 ANGULARGRADIENT1 ANIMATABLEDATA4 ANIMATE1 ANIMATION7 AREA-CHART1 ARRAY3 ARRAYSLICE1 ASYNC3 ASYNC-LET1 AWAIT3 AXIS2 BAR-CHART10 BUTTON1 BUTTONSTYLE1 CANCEL1 CANVAS7 CARD1 CHART7 CHATGPT3 CIRCLE2 COLOR7 COMPACTMAP1 CONCAT1 COVID2 COVID-195 CROSS-PRODUCT1 CSV1 DATAFRAME3 DEPENDENCY-INJECTION1 DI1 DICTIONARY1 DIVISION1 DONUT1 DOT-PRODUCT1 ENUMERATE1 FAKER1 FIBONACCI1 FILE1 FILTER1 FLATMAP1 FLIP1 FLOOR1 FOREACH1 FORM1 GAME1 GEOMETRYREADER1 GEOPANDAS1 GEOPLOT1 GRADIENT3 HSB2 HSTACK1 ILOC1 IMAGE2 INDEX1 IPYWIDGETS1 ITERATE1 JSON2 JSONDECODER1 LIFE1 LINE-CHART4 LINEARGRADIENT1 LIST1 LOC1 LOOP1 MACOS1 MAP1 MAPVALUES1 MATHPLOTLIB4 MATPLOTLIB7 MATTHEW1 MINIMAX3 MODAL1 MONTY-HALL3 MVVM8 NAVIGATION2 NAVIGATIONSPLITVIEW1 NSSAVEPANEL1 PALETTE1 PANDA1 PANDAS12 PATH13 PERFORMANCE2 PHOTO1 PIE-CHART2 PLOTLY7 POLYGON1 PREFIX1 PRIORITY2 PROBABILITY3 PROGRESS1 PROGRESSVIEW1 PUZZLE1 PYTHON29 QR-CODE1 RADIAL1 RECURSION1 REDUCE1 RGB1 ROMAN-NUMERALS1 SCROLL2 SHADING1 SHAPE5 SLIDER3 SPEED1 STAR3 STYLE1 SWIFT13 SWIFTLINT1 SWIFTUI82 TABULAR-DATA1 TABVIEW1 TASK4 TDD4 TEXT2 TIC-TAC-TOE5 TIMELINEVIEW4 TIMING1 TRANSITION1 TREE2 UI-TESTING1 UNIT-TEST1 UNIT-TESTING1 USERDEFAULTS1 VECTOR4 VECTORARITHMETIC4 VSTACK1 WHEEL1 WHERE1 ZIP1 ZSTACK1
[A~Z][0~9]
Software Development Notes

Copyright © 2020 -  Software Development Notes. All Rights Reserved

to-top