• 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
Removing/Adding views in drawRect:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Removing/Adding views in drawRect:


  • Subject: Removing/Adding views in drawRect:
  • From: "Mike R. Manzano" <email@hidden>
  • Date: Wed, 30 Aug 2006 11:40:16 -0700

(1) Is it prudent to add or remove subviews in drawRect:?

If not,

(2) Is it prudent to add or remove views somewhere else during a window live resize?

I would like to add/remove NSTextViews in response to window resize events and do it in a way that the text reflows correctly while the resize occurs.

Regards,

    ~     Mike
        alephx01 (at) mac (dot) com





_______________________________________________
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: Removing/Adding views in drawRect:
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: How to create an NSEvent for Option-E?
  • Next by Date: Newbie: window resize aloud with code?
  • Previous by thread: Re: Strange NSSlider / NSUserDefaults interaction
  • Next by thread: Re: Removing/Adding views in drawRect:
  • Index(es):
    • Date
    • Thread