- The evolution of note-taking #evolution
- From paper to digital
- From linear to networked
- The missing dimension: depth
- Two-dimensional thinking #2d-thinking
| import SwiftUI | |
| /// Created with Claude 3.7 Sonnet | |
| /// A view modifier that applies a neumorphic (soft UI) style to any view. | |
| /// This creates the characteristic raised or inset appearance with dual shadows. | |
| /// | |
| /// Example: | |
| /// ```.swift | |
| /// Text("Hello") | |
| /// .padding() |
| /** | |
| on macOS or iPad with External TrackPad/Mouse that using cursor, the additional UIHoverEvent will be fired for the same touch, | |
| which the `.began` might be called twice for the same touch. | |
| */ | |
| import UIKit |
| import UIKit | |
| extension CALayer { | |
| enum Elevation { | |
| case level1 | |
| case level2 | |
| case level3 | |
| case level4 | |
| // | |
| // UIFont+Styles.swift | |
| // | |
| // Created by Chung Yun Lee on 9/4/2021. | |
| // | |
| import Foundation | |
| import UIKit | |
| extension UIFont { |
| extension FileManager { | |
| // MARK: - Image | |
| func saveImage(_ image: UIImage, bucketName: String, pathComponent: String, for directory: SearchPathDirectory = .documentDirectory) { | |
| // prepare file path | |
| let pathURL = getPathURL(bucketName: bucketName,pathComponent: pathComponent, for: directory) | |
| let directoryURL = URL(fileURLWithPath: pathURL.path).deletingLastPathComponent() | |
| // prepare image data |