• 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: Filename from ImageView/Image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filename from ImageView/Image?


  • Subject: Re: Filename from ImageView/Image?
  • From: Richard Adams <email@hidden>
  • Date: Fri, 30 Nov 2001 20:33:04 -0800 (PST)

--- "John C. Randolph" <email@hidden> wrote:
>
> Have a look at my code for "JCRDragWells". You can
> find it at
> stepwise, in the softrak directory.
>
> As for subclassing NSImageView, why not? It's
> simple enough to do.

Hmm, I guess I keep reading postings from folks
talking about subclassing not being the right pattern
in a number of circumstances and I over reacted. It's
the right choice in this case - since there is no
workable delegate technique.

So I did just subclass NSImageView and added a
concludeDragOperation: method to it and I can fetch
the filenames using [pboard
propertyListForType:NSFilenamesPboardType]. Works
great.

Thanks for the feedback.

Also, I didn't see JCRDragWells on stepwise anywhere,
but didn't need it...

Richard
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com


References: 
 >Re: Filename from ImageView/Image? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Mix & Match?
  • Next by Date: Device info
  • Previous by thread: Re: Filename from ImageView/Image?
  • Next by thread: Automated user-interaction regression testing tools?
  • Index(es):
    • Date
    • Thread