Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
/ OutlineView Public archive

A simple SwiftUI re-implementation of an outline view, something roughly like NSOutlineView

License

Notifications You must be signed in to change notification settings

toph-allen/OutlineView

Repository files navigation

OutlineView

A small, simple implementation of a hierarchical outline view in SwiftUI. This project contains a small example application.

OutlineView Screenshot

N.B. This is a real work in progress.

This implementation uses an instance of a class to store the open/closed state of items with children, because otherwise SwiftUI would lose the open-closed state of folders when they aren't visible.

There are a few branches where I've attempted to work around this issue in a few ways, thus far unsuccessfully. But hey, it runs nicely as a proof of concept!

About

A simple SwiftUI re-implementation of an outline view, something roughly like NSOutlineView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages