• 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
[Q] Get rid of NSDocumentController ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] Get rid of NSDocumentController ?


  • Subject: [Q] Get rid of NSDocumentController ?
  • From: "[..'] ruyon" <email@hidden>
  • Date: Mon, 12 Nov 2001 02:48:54 +0900

[..'] Hello.

I'm trying to write a drag&drop multi-file batch processing application, similar to Dropstuff.

The problems are;

1. Adding document plist, which seems to be necessary to enable file-dragging onto my app, also make an instance of NSDocumentController that I really don't want. I don't want 'Open Recent' menu and unnecessary memory use (although not that much) either.
2. Impossible to get a list of dragged files. since what I need is just the list of path, not contents of hem.



After a few days of digging docs, I thought 3 possible (I think) solution, listed in order that is easiest but unfavorable, to difficult but attractive.

1. Write my app in carbon and utilize apple event, which returns me a list of dragged files.
2. Write my app in carbon and utilize apple event, along with FoundationKit.
3. Get rid of, or subclass NSDocumentController and get NSArray of dragged files somehow.

So, what would be the best approach to this kind of application?


By the way, I don't think apple's DocController-Doc-WinController paradigm is the worst of this world, but It should be optional for more flexibility.


TIA

Ru

---------------------------
[..'] Dost thou remember those days? - "Hello, world!"
http://homepage.mac.com/ruyon


  • Follow-Ups:
    • Re: [Q] Get rid of NSDocumentController ?
      • From: Charles Srstka <email@hidden>
  • Prev by Date: gcc 3.0.x
  • Next by Date: Re: gcc 3.0.x
  • Previous by thread: Re: gcc 3.0.x
  • Next by thread: Re: [Q] Get rid of NSDocumentController ?
  • Index(es):
    • Date
    • Thread