Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / April 2007



Tip: Looking for answers? Try searching our database.

Finder pane

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Sugden - 25 Apr 2007 11:01 GMT
Hi,

Is there a way to have a pane in my app that works just like the
finder? I've seen that you can bundle TextEdit-like features into your
program with ease. I know Finder is carbon, not cocoa, but is it
possible to do this with Finder as well?

Cheers,

Chris
Gregory Weston - 25 Apr 2007 17:55 GMT
> Hi,
>
> Is there a way to have a pane in my app that works just like the
> finder? I've seen that you can bundle TextEdit-like features into your
> program with ease. I know Finder is carbon, not cocoa, but is it
> possible to do this with Finder as well?

M. Uli Kusterer has something similar to the Finder icon view here:
<http://www.zathras.de/angelweb/sourcecode.htm>

List and column views are easily handled by stock classes.
Chris Sugden - 26 Apr 2007 11:22 GMT
That's great. Could you elaborate a bit on this though?
> List and column views are easily handled by stock classes.

My cocoa programming experience is exactly nil, but I'm happy to put
in the time learning *if* what I want to do is actually possible.

To be more specific, I don't want to replicate a "Finder look" in my
app. I want to actually be able to browse directories, open files into
the primary pane, rename files, create new directories and so on. Am I
going to have to create all this functionality by hand? There's no
existing objects like for when you want a text editing pane?

Thanks,

Chris

> In article <1177495294.501061.80...@t39g2000prd.googlegroups.com>,
>
[quoted text clipped - 9 lines]
>
> List and column views are easily handled by stock classes.
Gregory Weston - 26 Apr 2007 14:51 GMT
> That's great. Could you elaborate a bit on this though?
> > List and column views are easily handled by stock classes.

The NSOutlineView and NSBrowser classes are what you' be looking at for
those modes, respectively.

> My cocoa programming experience is exactly nil, but I'm happy to put
> in the time learning *if* what I want to do is actually possible.
[quoted text clipped - 4 lines]
> going to have to create all this functionality by hand? There's no
> existing objects like for when you want a text editing pane?

There's no single thing you can drop in a window that will make that
window look/act like a Finder window. There's not a HUGE amount of code
for the functionality you've described, though, because the worst of it
is already wrapped up in classes that are available to you.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.