• 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: 10.7 Full-Screen transition animation corrupts my UI - how to avoid?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid?


  • Subject: Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid?
  • From: Motti Shneor <email@hidden>
  • Date: Sat, 21 Jul 2012 22:03:50 +0300

Hi, the header-file  documentation for the suggested delegate method tells the following:
---------------
1.  windowWillResize:toSize: Tells the delegate that the window is being resized (whether by the user or through one of the setFrame... methods other than setFrame:display:).

2. The frameSize contains the size (in screen coordinates) sender will be resized to. To resize to a different size, simply return the desired size from this method; to avoid resizing, return the current size. sender’s minimum and maximum size constraints have already been applied when this method is invoked.

While the user is resizing a window, the delegate is sent a series of windowWillResize:toSize: messages as the window’s outline is dragged. The window’s outline is displayed at the constrained size as set by this method.
--------------

Maybe I don't understand the docs right --- but my understanding is that minimum and maximum sizes are already constrained by this method --- which means there is no reason for me to implement it in my delegate, as my implementation won't do anything different than the standard implementation.

I'll give it a try, but obviously something is wrong either in the documentation, my understanding of it, or Cocoa full-screen animation implementation.

On 19 ביול 2012, at 18:09, Kyle Sluder wrote:

> On Jul 19, 2012, at 5:17 AM, Motti Shneor <email@hidden> wrote:
>
>> Hi Steve
>>
>> How can a view disregard resizing request? It is simply resized....
>
> Try -[<NSWindowDelegate> windowWillResize:toSize:].
>
> --Kyle Sluder

Motti Shneor
e-mail: email@hidden
phone: +972-8-9267730
mobile: +972-54-3136621
----------------------------------------
Ceterum censeo Microsoftinem delendam esse



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >MaxOS 10.7 full-screen animation corrupts my UI --- how to avoid? (From: Motti Shneor <email@hidden>)
 >Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid? (From: Steve Bird <email@hidden>)
 >Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid? (From: Motti Shneor <email@hidden>)
 >Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: saving images
  • Next by Date: Re: KVG generic enough?
  • Previous by thread: Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid?
  • Next by thread: Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid?
  • Index(es):
    • Date
    • Thread