https://github.com/danielhusx/pathscrollview
macOS SwiftUI path scroll view
https://github.com/danielhusx/pathscrollview
macos mouse-tracking scrollview swiftui textscroll
Last synced: about 1 month ago
JSON representation
macOS SwiftUI path scroll view
- Host: GitHub
- URL: https://github.com/danielhusx/pathscrollview
- Owner: DanielHusx
- License: mit
- Created: 2022-08-17T08:24:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-18T08:22:31.000Z (almost 4 years ago)
- Last Synced: 2025-02-15T04:25:29.837Z (over 1 year ago)
- Topics: macos, mouse-tracking, scrollview, swiftui, textscroll
- Language: Swift
- Homepage:
- Size: 1.21 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PathScrollView
macOS SwiftUI path scroll view
### Usage
```swift
PathScrollViewWrapper(path: "/Users/daniel/Documents")
// separator by "/"
PathScrollViewWrapper(path: "/Users/daniel/Documents/iProjects/iGithub/DHCode/iProjects/iGithub/DHCode",
defaultTextFont: .boldSystemFont(ofSize: 14),
defaultTextColor: .textColor,
overTextColor: .yellow)
// separator by "i"
PathScrollViewWrapper(path: "UsersdanielDocumentsiProjectsiGithubDHCodeiProjectsiGithubDHCode",
separator: "i",
defaultTextFont: .boldSystemFont(ofSize: 14))
```
