Software Development Notes
open-menu closeme
Home
Swift
Python
About
Software Development Notes
linkedin rss
  • Create a line chart in SwiftUI

    calendar Nov 14, 2021 · 13 min read · line chart chart path swiftui  ·
    Share on: linkedin facebook copy
    Create a line chart in SwiftUI
    A line chart is a graphical representation of changes in some data over time or between categories. The chart consists of two axes; x-axis is the horizontal axis representing the time change; and y-axis is the vertical axis representing the magnitude of the data. This article demonstrates how to create simple line …
    Read More
  • Test Driven Development in SwiftUI - Part 3

    calendar Oct 31, 2021 · 23 min read · MVVM TDD minimax tic tac toe swiftui  ·
    Share on: linkedin facebook copy
    Test Driven Development in SwiftUI - Part 3
    This is the fourth part in this trilogy! - with a brief interlude last week for an introduction to the Minimax algorithm. This article builds on the App from part 1 and 2, which allows two players to play Tic Tac Toe. In this article we will implement the minimax algorithm to determin the best move for the computer to …
    Read More
  • Understanding Minimax Algorithm with Tic Tac Toe

    calendar Oct 24, 2021 · 7 min read · minimax tic tac toe swiftui  ·
    Share on: linkedin facebook copy
    Understanding Minimax Algorithm with Tic Tac Toe
    The Minimax algorithm is a type of backtracking algorithm used in Game Theory to determine the best move to make assuming your opponent is also making their best move. The use of Minimax algorithm is a form of Artificial Intelligence that does not involve Machine Learning. This article explains Minimax algorithm and …
    Read More
  • Test Driven Development in SwiftUI - Part 2

    calendar Oct 17, 2021 · 28 min read · MVVM TDD tic tac toe swiftui  ·
    Share on: linkedin facebook copy
    Test Driven Development in SwiftUI - Part 2
    This creates the View for Tic Tac Toe app utilising the Model and ViewModel created in part 1. More unit tests are added as functionality is required and then the code to get the tests to pass is implemented.
    Read More
  • 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
    • ««
    • «
    • 4
    • 5
    • 6
    • 7
    • 8
    • »
    • »»

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