Software Development Notes
Home
Swift
Python
About
Software Development Notes
  • Can ChatGPT create an iOS app in SwiftUI - part 1

    Mar 19, 2023 · 21 min read · ai chatgpt task swiftui  ·
    Share on:
    Can ChatGPT create an iOS app in SwiftUI - part 1

    Artificial Intelligence is trending at the moment with applications like DALL-E and Canva able to create images in certain styles and ChatGPT able to generate text. This article explores if ChatGPT can do more than childrens homework and see can ChatGPT create an iOS task app in SwiftUI. So I asked it to create a task …

    Read More
  • How to cancel a background task in Swift

    Jan 29, 2023 · 11 min read · async await task cancel swiftui  ·
    Share on:
    How to cancel a background task in Swift

    The async/await syntax, introduced in Swift 5.5, allows a readable way to write asynchronous code. Asynchronous programming can improve performance of an app, but it is important to cancel unneeded tasks to ensure unwanted background tasks do not interfere with the app. This article demonstrates how to cancel a task …

    Read More
  • Use async let to run background tasks in parallel in Swift

    Jan 15, 2023 · 9 min read · async let async await task swiftui  ·
    Share on:
    Use async let to run background tasks in parallel in Swift

    The async/await syntax was introduced in Swift 5.5 with Meet async/await in Swift in WWDC 2021. It is a more readable way to write asynchronous code and is easier to understand than dispatch queues and callback functions. The async/await syntax is similar to those used in other programming languages like C# or …

    Read More
  • Add horizontal scroll to charts with SwiftUI Charts in iOS 16

    Dec 4, 2022 · 11 min read · line chart bar chart scroll swiftui  ·
    Share on:
    Add horizontal scroll to charts with SwiftUI Charts in iOS 16

    Apple introduced SwiftUI Charts at WWWDC 2022, which makes it incredibly easy to create charts within SwiftUI views. The default chart presents the entire data in the chart plot regardless of how much data is available. It can be beneficial to show more details on a chart and add the ability to scroll through the …

    Read More
  • NavigationSplitView with Employee and Department models

    Nov 20, 2022 · 9 min read · navigation navigationsplitview swiftui  ·
    Share on:
    NavigationSplitView with Employee and Department models

    Apple introduced NavigationStack and NavigationSplitView at WWWDC 2022 to replace NavigationView, which has been deprecated. The documentation for NavigationSplitView includes sample code, but the code does not work as it is missing model data. Here is some model data to allow the sample code in the documentation to …

    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
    • ««
    • «
    • 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]