I really want to make a simple file browser in Xcode kind of like Finder itself, but it just displays one folder as a grid view. Can anyone direct me to a guide?
make a file browser in Cocoa
Asked Answered
do you mean a table (with rows and icons on the side, like list view in Finder) or a grid of icons (like the icon view in Finder)? For the former, use NSTableView or NSOutlineView. For the latter, use IKImageBrowserView. –
Fulmis
I wanted the icon grid, to display files in a folder. –
Prinz
I recommend looking at Apple's code sample for SourceView.
It's probably a good place to start and should give you enough of an idea of where to begin.
© 2022 - 2024 — McMap. All rights reserved.