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

Custom Views and Dragging ...


  • Subject: Custom Views and Dragging ...
  • From: J Nozzi <email@hidden>
  • Date: Wed, 21 Apr 2004 16:17:06 -0400

Hello, List:

I've been experimenting with custom views and Quartz and all related nose-bleed-and-migraine-inducing subjects. I think I understand the whole drawing thing at least well enough to find my own answers in most cases, now, but I am still at a loss regarding containers ...

Basically, I can't seem to find a comprehensive, easy-to-digest explanation of:

- How NSScrollView and NSClipView objects work together.
- What the difference between containerView and documentView really is.
- How to *properly* make a custom NSView subclass draggable ONLY within the bounds of a superview (I'm using NSContainsRect([superView bounds], rect) as a hit test).
- How to drag and drop a custom view between two different superviews (okay, this one is probably well-explained, I just don't get it).

I HAVE THOROUGHLY RTFM, so kindly put that rather presumptuous comment aside. ;-) I've checked out the example apps (none have implementations like what I need). I've also read and re-read all the Cocoa bibles. The problem is that I feel this area is glanced over a little too quickly in all the documentation and all the better books.

I'd *LOVE* the authors to go more in-depth on these issues in the next revision (I'm eyeing you, Scott :-) ), but until then, does anyone have any links to good examples, articles, tutorials, Matrix-style-knowledge-loaders?

Thanks!

- J
_______________________________________________
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 ...
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: IOKit - USB from Cocoa
  • Next by Date: CFStringRef == NSString* ?
  • Previous by thread: Re[2]: IOKit - USB from Cocoa
  • Next by thread: Re: Custom Views and Dragging ...
  • Index(es):
    • Date
    • Thread