make a file browser in Cocoa
Asked Answered
P

1

15

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?

Prinz answered 3/5, 2011 at 3:19 Comment(2)
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
U
25

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.

Unmanned answered 11/5, 2011 at 16:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.