On Aug 16, 2013, at 16:26 , Kyle Sluder <k...@ksluder.com> wrote:

> Since -setWindow: doesn't exist, I'd suggest overriding 
> -viewWillMoveToWindow: to render and apply your mask. That way when your view 
> comes on screen it will have the correct mask already. Call the same code 
> from -layoutSubviews if necessary.

Oh, thanks! I skimmed through the list of methods looking for just that, but 
didn't see it. Pedantically, it's -willMoveToWindow:

Thanks!

-- 
Rick




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to