• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder-like icon browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder-like icon browser


  • Subject: Re: Finder-like icon browser
  • From: Tom Waters <email@hidden>
  • Date: Fri, 12 Oct 2001 12:52:03 -0700

I was the person (fool?) who decided to write a finder replacement as his first cocoa app. I gave up for several reasons. 1) paying work. 2) lots of nasty issues surrounding os9'isms such as aliases, labels, copying hfs bits, etc, that I didn't really have any experience with, nor did I want to learn. 3) 10.1 finder fixed a lot of the issues I started out intending to fix.

That said, the IconView and IconCell classes weren't that big of an issue. They turned out to be only 710 lines of code. The delegate for that view, which shared a lot of code with the two other views (drag/drop, selections, copy, move, delete, etc.) was 913 lines. The custom text view for editing filenames in place was 159 lines. So, Ondra's guess of under 2,000 lines of code was pretty good. And it even supported all of the features that Andy wanted. Unfortunately, being a beginner objc programmer at the time, it's not quite a completely abstract view, I'm sure it has dependencies on my File and Dir abstractions for files, (another 910 lines of code.)

In any event, I haven't looked at it in months, and have another paying gig, this time writing in Objc/Cocoa!!!


On Friday, October 12, 2001, at 11:42 AM, Andreas Monitzer wrote:

On Friday, October 12, 2001, at 09:03 , Ondra Cada wrote:

Andreas Monitzer (AM) wrote at Fri, 12 Oct 2001 18:38:36 +0200:
AM> >Does a browser class exist which emulates the Finder's icon view? This
AM> >browser would support arbitrarily placed and sized cells.

AM> No. And I know of one person that tried to do it and gave up after 8000
AM> lines of Objective C-code (see macnn forum, if the old posts are still up
AM> there - the thread was called "Don't like the finder? - Write a new one!"
AM> or something like that).

Ouch?!?

If there is no hook like "I didn't mean just the view, but a complete
full-featured Finder replacement",

that was the original objective

then I am willing to bet real money I'll make the thing under 2000 lines.

Taking?

Hm... A challenge for you: If you write an extensible icon view with all features the Finder provides (in-place label editing, keyboard control, multiple selections, dynamically resizable icons, etc) and release the source to it (LGPL, BSD, whatever), you'll get my respect (and I'm sure the respect of others, too) and I'll stop complaining about softlinks vs. aliases :-)

andy


References: 
 >Re: Finder-like icon browser (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: How to send apple event in cocoa application
  • Next by Date: holding NSMutables in non-mutable instances
  • Previous by thread: Re: Finder-like icon browser
  • Next by thread: Re: Finder-like icon browser
  • Index(es):
    • Date
    • Thread