Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add closable section of variables #82

Open
wesselvdv opened this issue Jan 20, 2023 · 1 comment
Open

Add closable section of variables #82

wesselvdv opened this issue Jan 20, 2023 · 1 comment

Comments

@wesselvdv
Copy link

I think it would be nice to be able to define groups of variables and be able to open or close these groups much like cheat engine does.

@wesselvdv wesselvdv changed the title Add ability add a closable section of variables Add closable section of variables Jan 20, 2023
@wesselvdv
Copy link
Author

wesselvdv commented Jan 23, 2023

I did some digging into this, and this is not trivial unfortunately. There is a builtin Cocoa class that can support this: NSOutlineView which is a subclass of NSTableView, but that's as far as the good news goes. The bad news is the NSOutlineView is way more complex than the current NSTableView with NSCell, and therefore requires some serious changes to the search document nib, associated files and probably variables storing in documents.

Alternative:

https://blog.krzyzanowskim.com/2015/05/29/lets-talk-about-sections-for-nstableview/

Simple example showing NSOutlineView:

https://github.com/besi/mac-quickies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant