• 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: Cocoa functionality analogous to ValidWindowRect?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa functionality analogous to ValidWindowRect?


  • Subject: Re: Cocoa functionality analogous to ValidWindowRect?
  • From: "John C. Randolph" <email@hidden>
  • Date: Sat, 5 Nov 2005 06:35:31 -0800


On Nov 3, 2005, at 1:58 PM, Kurt Bigler wrote:

I have not been able to find any functionality in NSView that corresponds to
the carbon ValidWindowRect call, which marks a rectangular area as not
needing to be redrawn.

There's nothing like this in Cocoa. A view's content is considered valid unless you send it a -setNeedsDisplay: or - setNeedsDisplayInRect: message.


I am porting an application that was written with some portability hooks
which require this functionality. I'd rather be able to do the initial port
without having to redesign these internals to avoid needing this
functionality, if at all possible

It's not. You'll have to do some reworking of the drawing logic in the app you're porting.


-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cocoa functionality analogous to ValidWindowRect?
      • From: Kurt Bigler <email@hidden>
    • Re: Subclassing NSButton
      • From: Conor Dearden <email@hidden>
References: 
 >Cocoa functionality analogous to ValidWindowRect? (From: Kurt Bigler <email@hidden>)

  • Prev by Date: Re: NSTable Examples
  • Next by Date: Re: Tracking rects
  • Previous by thread: Cocoa functionality analogous to ValidWindowRect?
  • Next by thread: Re: Subclassing NSButton
  • Index(es):
    • Date
    • Thread