Software Development Notes
open-menu closeme
Home
Swift
Python
About
Software Development Notes
linkedin rss
  • Test Driven Development in SwiftUI - Part 1

    calendar Oct 10, 2021 · 17 min read · MVVM TDD tic tac toe swiftui  ·
    Share on: linkedin facebook copy
    Test Driven Development in SwiftUI - Part 1
    Test Driven Development is a process of writing unit tests for software before writing the code to get those tests to pass. Many of us struggle to write the tests before we write the software, but this has gotten easier in Xcode over the years. This article demonstrate an approach for implementing a simple version of …
    Read More
  • Monty Hall Problem in SwiftUI - part 3

    calendar Oct 3, 2021 · 18 min read · probability monty hall MVVM swiftui  ·
    Share on: linkedin facebook copy
    Monty Hall Problem in SwiftUI - part 3
    I just couldn't let the Monty Hall problem go. What if there were more doors in the problem. In this article I create a simulation of anywhere from 3 to 6 doors with the underlying premise that after selecting a door, all but one of the remaining doors are opened. The contestant is then offered an option to switch …
    Read More
  • Monty Hall Problem in SwiftUI - part 2

    calendar Sep 26, 2021 · 11 min read · probability monty hall MVVM swiftui  ·
    Share on: linkedin facebook copy
    Monty Hall Problem in SwiftUI - part 2
    Monty Hall Problem in SwiftUI - Simulation. An SwiftUI app was developed for the Monty Hall problem and is described in part 1. The solution to the problem is that the contestant should always switch doors when the host opens the door to reveal a goat and offers the contestant the option to switch doors. This article …
    Read More
  • Monty Hall Problem in SwiftUI - part 1

    calendar Sep 19, 2021 · 13 min read · probability monty hall MVVM swiftui  ·
    Share on: linkedin facebook copy
    Monty Hall Problem in SwiftUI - part 1
    I love the Monty Hall problem, even though I find it counter-intuitive. The Monty Hall problem is a form of probability puzzle named after American game show host Monty Hall. It is presented in the style of the game show, called Let's Make a Deal, where you are given a choice of selecting one of three doors. Behind one …
    Read More
  • Flip a card in SwiftUI

    calendar Sep 12, 2021 · 9 min read · card flip swiftui  ·
    Share on: linkedin facebook copy
    Flip a card in SwiftUI
    Card-style views are common in iOS apps as they provide a nice way of visually separating data on a small screen. This article walks through how to animate the flipping of a card in SwiftUI.
    Read More
  • Create Activity Rings in SwiftUI

    calendar Sep 3, 2021 · 12 min read · Activity Ring swiftui  ·
    Share on: linkedin facebook copy
    Create Activity Rings in SwiftUI
    Activity Rings have become ubiquitous since the introduction of the Apple Watch. The default is to have three circular activity rings for move, exercise and stand goals for the day. An Activity Ring is a type of circular progress bar that start at 12 O'Clock in clock notation and extends clockwise as activity …
    Read More
  • Horizontal Bar Chart in SwiftUI

    calendar Aug 29, 2021 · 7 min read · bar chart swiftui  ·
    Share on: linkedin facebook copy
    Horizontal Bar Chart in SwiftUI
    Horizontal Bar Charts present categories of data as rectangular bars with the widths proportional to the values they represent. This article shows how to build on the vertical bar chart to create a horizontal bar chart.
    Read More
  • Bar Chart with multiple data sets in SwiftUI

    calendar Aug 22, 2021 · 12 min read · bar chart swiftui  ·
    Share on: linkedin facebook copy
    Bar Chart with multiple data sets in SwiftUI
    A vertical Bar Chart presents categories of data as bars with the heights proportional to the values they represent. This article shows how to enhance the basic bar chart by displaying data with multiple sets of data for each category. In the bar chart, the bars are grouped into their categories and color is used for …
    Read More
  • Hide Bar Chart Axes in SwiftUI

    calendar Aug 15, 2021 · 7 min read · bar chart axis swiftui  ·
    Share on: linkedin facebook copy
    Hide Bar Chart Axes in SwiftUI
    In previous articles we created bar charts in SwiftUI and then added x and y axis to the chart. The bar chart can look cleaner without one or both axes, so in this article, we will customise the bar chart to show or hide the axes.
    Read More
  • For loop in SwiftUI - ForEach

    calendar Aug 8, 2021 · 7 min read · ForEach loop swiftui  ·
    Share on: linkedin facebook copy
    For loop in SwiftUI - ForEach
    SwiftUI is a declarative framework for constructing user interfaces (UI) for iOS Apps as well as other Apple Platforms. In SwiftUI most parts of the user interface are composed of views nested and arranged to present a cohesive App. It is frequently required to present a number of similar views, and a for or while loop …
    Read More
    • ««
    • «
    • 3
    • 4
    • 5
    • 6
    • 7
    • »
    • »»

Eric Callanan

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

Recent Posts

  • LinearGradient in SwiftUI
  • Create a color pencil in SwiftUI
  • Convert color from RGB to HSB in Swift
  • Create a circular slider in SwiftUI with ChatGPT
  • Can ChatGPT create an iOS app in SwiftUI - part 2
  • 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

Tags

SWIFTUI 74 PYTHON 28 PATH 13 SWIFT 13 PANDAS 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 AI3 ALGORITHM1 ANGULARGRADIENT1 ANIMATABLEDATA4 ANIMATION6 AREA-CHART1 ARRAY1 ARRAYSLICE1 ASYNC3 ASYNC-LET1 AWAIT3 AXIS2 BAR-CHART10 BUTTON1 BUTTONSTYLE1 CANCEL1 CANVAS6 CARD1 CHART6 CHATGPT3 CIRCLE2 COLOR4 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 HSB2 HSTACK1 ILOC1 IMAGE2 INDEX1 IPYWIDGETS1 ITERATE1 JSON2 JSONDECODER1 LINE-CHART4 LINEARGRADIENT1 LIST1 LOC1 LOOP1 MACOS1 MAP1 MAPVALUES1 MATHPLOTLIB4 MATPLOTLIB7 MATTHEW1 MINIMAX3 MODAL1 MONTY-HALL3 MVVM8 NAVIGATION2 NAVIGATIONSPLITVIEW1 NSSAVEPANEL1 PALETTE1 PANDAS12 PATH13 PERFORMANCE2 PHOTO1 PIE-CHART1 PLOTLY7 POLYGON1 PREFIX1 PROBABILITY3 PROGRESS1 PROGRESSVIEW1 PUZZLE1 PYTHON28 QR-CODE1 RECURSION1 REDUCE1 RGB1 ROMAN-NUMERALS1 SCROLL1 SHADING1 SHAPE5 SLIDER3 SPEED1 STAR3 STYLE1 SWIFT13 SWIFTLINT1 SWIFTUI74 TABULAR-DATA1 TABVIEW1 TASK4 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]