• 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: Custom Views and Dragging ... [ with attitude ]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Views and Dragging ... [ with attitude ]


  • Subject: Re: Custom Views and Dragging ... [ with attitude ]
  • From: Allan Odgaard <email@hidden>
  • Date: Thu, 22 Apr 2004 05:02:47 +0200

On 22. Apr 2004, at 4:35, J Nozzi wrote:

First, let me say I'm a bit annoyed by the responses some people receive on this list when they ask a valid question. Allan, I'm not specifically attacking you, but your response wasn't particularly helpful. See below.

If it is not meant for me: do not follow up with such a rant before a reply to me!

[...] when someone states up-front that he or she DID RTFM and to please not respond with RTFM ...

Providing a link to documentation is not the same as saying RTFM. Also, I have been working with Cocoa for 1-2 years now, read much of the documentation many times, still I find new pieces of information now and then!

What gets me even angrier is when someone asks a valid question and is met with "What? Why would you want to do this? Why? MY GOD, WHY?!"

Angry? There are several reasons for such a question namely curiosity and that it sounds like the OP is going at his problem the wrong way, but he himself did not provide any context -- so let us see if we can lure it out of him. Anyway it's easier to answer questions given context.

See http://developer.apple.com/documentation/Cocoa/Conceptual/DrawViews/ index.html
As I specifically stated in my original post, I have read this several times over.

No, you said "I have RTFM". Does that include *all* documents at developer.apple.com? And I explicitly listed two sections from the above document, namely those about scroll views and clip views.

Your question was: "I can't seem to find a comprehensive, easy-to-digest explanation of: How NSScrollView and NSClipView objects work together". That is explained in the document I referred to.

If you want more specific help, ask more specific questions! If you do not want to be pointed at resources you have already exhausted, then list exactly what you have already read (and perhaps how you interpreted it).

Would you know of any *other* resources that further explain this?

No, I do not know of any other resources than TFM which explains these concepts.

Actually using iMovie and playing with it, I can see that the original view remains in the clip palette until it's dropped on the timeline, then it is 'moved'. But now what about the confining-to-the-timeline question? The method I'm using (the NSContainsRect() hit test thing) doesn't seem right.

I do not have iMovie, so I do not know the exact behavior. However, with Cocoa there is no way to limit the actual movement of the dragged image, only the visual feedback given by dragging it around -- if you desperately need to restrain the movement of the dragged object, you'll need to implement pretty much everything yourself. I would think the best way is to open a (transparent) window and move that around.

Again, I'd REALLY appreciate someone directing me to further reading on all this. At *least* a different perspective. I can't stress enough how things can be hard to grasp for some people until it's explained a little differently ...

Please understand that it is just as hard for us to know at what level your understanding is, what exactly you need help with, what you have already tried etc. when you do not explicitly state these things.

I really think your letter is both immature and offensive, even if it was not directly meant for me -- you really ought to ask yourself why you get unsatisfying answers and try to improve your own question-asking skills instead of sending such stupid rants to the list, which will just ensure you even less answers in the future!






** Cocoa FAQ: <http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Custom Views and Dragging ... [ with attitude ]
      • From: J Nozzi <email@hidden>
References: 
 >Custom Views and Dragging ... (From: J Nozzi <email@hidden>)
 >Re: Custom Views and Dragging ... (From: Allan Odgaard <email@hidden>)
 >Re: Custom Views and Dragging ... [ with attitude ] (From: J Nozzi <email@hidden>)

  • Prev by Date: Re: Custom Views and Dragging ... [ with attitude ]
  • Next by Date: Re: Custom Views and Dragging ... [ with attitude ]
  • Previous by thread: Re: Custom Views and Dragging ... [ with attitude ]
  • Next by thread: Re: Custom Views and Dragging ... [ with attitude ]
  • Index(es):
    • Date
    • Thread