Skip to content

YT notes

Never cease to grow

  • Home
  • Life building
  • iOS
  • Programming
  • Tool
  • Home server
  • Technologies

Category: Programming

100 Days of SwiftUI Solutions – Checkpoints

January 22, 2022 yyu Programming

100 Days of SwiftUI solutions One of the greatest resources on the Internet to learn Swift and SwiftUI is Paul[…]

Read more

How to use async/await with URLSession.shared.Data in iOS 15?

June 29, 2021 yyu iOS, Programming

What is Async/await? In the latest Swift, the new async/await API is introduced for iOS 15. The async/await aims at[…]

Read more
How to use custom date format with JSONDecoder and Codable

How to use custom date format with JSONDecoder and Codable

March 20, 2021 yyu Programming

Quick background When writing Swift code interacting with web service, we often use Codable protocol to encode and decode data.[…]

Read more

Calculating time difference in minutes between two dates in Swift

January 3, 2021 yyu iOS, Programming

In some cases, we need to get time difference in Swift for two dates. In this post I will show[…]

Read more

SwiftUI: Navigating back to previous view after actions

December 10, 2020 yyu iOS, Programming

Sometimes we want to navigate to the previous view after some actions are performed. For example, I was writing some[…]

Read more

Fixing SwiftUI NavigationView on iPad

November 10, 2020 yyu iOS, Programming

When moving a NavigationView originally designed only for iPhone to iPad, most likely you will find the view is not[…]

Read more

Multiline text input in SwiftUI (iOS 14)

October 30, 2020 yyu iOS, Programming

As we know SwiftUI has been evolving since it was introduced. In iOS 13 when we want to create a[…]

Read more

Setting transparent background for List view in SwiftUI

October 23, 2020 yyu iOS, Programming

Today I encountered the issue that when I set up a List view, the List background is always white, even[…]

Read more

Retrieving iOS calendar event with EventKit

October 9, 2020 yyu iOS, Programming

To retrieve iOS calendar event, we need to work with EventKit. First we will create a EKEventStore, then we need[…]

Read more

Convert ISO8601 time format to Python datetime with time zone

September 26, 2020 yyu Programming

Working in web application sometimes we have the situation where we need to receive a time string and convert it[…]

Read more

Posts pagination

1 2 Next Posts»

command line tool Data science docker Flask Homebridge iOS development JupyterLab Life building Linux MacOS python Python for C++ programmers Raspberry Pi reading notes Swift SwiftUI Technology tool wordpress

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy