Software Development Notes
Home
Swift
Python
About
Software Development Notes
  • Create a star rating SwiftUI component

    Jan 2, 2022 · 9 min read · star shape path swiftui  ·
    Share on:
    Create a star rating SwiftUI component

    Create an interactive star rating SwiftUI component. This article will use the star cutout shape with rounded corners as well as elements of the custom slider to create a star rating component in SwiftUI.

    Read More
  • How to customise the Slider in SwiftUI

    Dec 26, 2021 · 10 min read · Slider swiftui  ·
    Share on:
    How to customise the Slider in SwiftUI

    There is limited ability to customise the Slider in SwiftUI as of Xcode 13. These are three options of presenting a custom view of the Slider in a SwiftUI App. Set the tint color and background color of the slider; fall back to using the UISliderView from UIKit or create a custom SliderView from scratch in SwiftUI.

    Read More
  • Countries with highest deaths from covid

    Dec 18, 2021 · 15 min read · python plotly covid-19  ·
    Share on:
    Countries with highest deaths from covid

    A lot of time was spent in 2020 looking at daily covid numbers, which was getting overwhelming. Having taken a break for a while, this article combines covid data and vaccination data with population data to present a view of the countries with the highest deaths from Covid-19 and the vaccination status in the country.

    Read More
  • Star with rounded corners in SwiftUI

    Dec 12, 2021 · 15 min read · star shape path swiftui  ·
    Share on:
    Star with rounded corners in SwiftUI

    The Star shape used in the Star cutout has sharp corners. This article shows how to modify the shape to create stars with rounded corners. The radius of the corner can be set as a parameter to specify the rounding of the outer and inner corners of the star.

    Read More
  • Create a Star cutout shape in SwiftUI

    Dec 5, 2021 · 14 min read · shape star path swiftui  ·
    Share on:
    Create a Star cutout shape in SwiftUI

    Path can be used in SwiftUI to create practically any shape. I found creating a cutout shape difficult until I found that FillStyle can be used with the even-odd rule. This article shows how to create a shape outline where the outside can be colored and the center kept transparent to allow other content to show …

    Read More
  • Animate Text size change in SwiftUI

    Nov 28, 2021 · 3 min read · animation text swiftui  ·
    Share on:
    Animate Text size change in SwiftUI

    One way to animation the change in text size is to use scale effect, however the text will appear blurred when scaled up. A custom AnimatableModifier can be used to smoothly animate the resizing of text in SwiftUI, which results in displaying clear text at all sizes through the animation.

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

Eric Callanan

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

Recent Posts

  • Reduce in Swift
  • Save an image to MacOS file system with SwiftUI
  • Map on collections in Swift
  • Iterating over a Dictionary in Swift
  • Exploring data with Swift TabularData and DataFrame
  • Use Dependency Injection to Unit Test a ViewModel in Swift
  • Consistent Swift style in Xcode with SwiftLint
  • Display loading screen when fetching data in Swift

Tags

SWIFTUI 58 PYTHON 27 SWIFT 13 PATH 12 PANDAS 11 MVVM 8 MATPLOTLIB 7 PLOTLY 7 ANIMATION 6 BAR-CHART 6 CANVAS 6 COVID-19 5 SHAPE 5 TIC-TAC-TOE 5
All Tags
2D2 3D2 ACTIVITY-RING1 ADDCURVE1 ALGORITHM1 ANGULARGRADIENT1 ANIMATABLEDATA4 ANIMATION6 ASYNC1 AWAIT1 AXIS2 BAR-CHART6 BUTTON1 BUTTONSTYLE1 CANVAS6 CARD1 CHART1 COMPACTMAP1 CONCAT1 COVID2 COVID-195 CROSS-PRODUCT1 DATAFRAME2 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 JSON1 JSONDECODER1 LINE-CHART1 LIST1 LOC1 LOOP1 MACOS1 MAP1 MAPVALUES1 MATHPLOTLIB4 MATPLOTLIB7 MINIMAX3 MODAL1 MONTY-HALL3 MVVM8 NAVIGATION1 NSSAVEPANEL1 PANDAS11 PATH12 PERFORMANCE2 PHOTO1 PIE-CHART1 PLOTLY7 POLYGON1 PROBABILITY3 PROGRESS1 PROGRESSVIEW1 PUZZLE1 PYTHON27 QR-CODE1 RECURSION1 REDUCE1 ROMAN-NUMERALS1 SHADING1 SHAPE5 SLIDER1 SPEED1 STAR3 STYLE1 SWIFT13 SWIFTLINT1 SWIFTUI58 TABULAR-DATA1 TABVIEW1 TDD4 TEXT2 TIC-TAC-TOE5 TIMELINEVIEW4 TIMING1 UI-TESTING1 UNIT-TEST1 UNIT-TESTING1 USERDEFAULTS1 VECTOR4 VECTORARITHMETIC4 VSTACK1 WHERE1 ZIP1 ZSTACK1
[A~Z][0~9]