[MAC] Lion Fullscreen support
#1
Just sayin' this would be sweet Smile

Quote:Full-Screen Apps
Lion’s beautiful full-screen mode is off by default but it takes just one line of code to enable it in your app. Specifically, call [-setCollectionBehavior:] with the NSWindowCollectionBehaviorFullScreenPrimary flag on your main window. (By setting a window’s collection behavior to NSWindowCollectionBehaviorFullScreenAuxiliary, it can be shown on the same space as the fullscreen window; use this for secondary windows.). Update: You can also set the collection behavior in Interface Builder.

A window is taken into or out of fullscreen mode with the -toggleFullScreen: action. The NSWindowDelegate protocol was also extended by several new methods that inform the delegate about the entering and exiting of full-screen mode and allow it to set a custom content size and presentation options for full-screen display. You can also customize the animation into and out of full-screen mode with the following methods:

-windowConfusedtartCustomAnimationToEnterFullScreenWithDuration:
-windowConfusedtartCustomAnimationToExitFullScreenWithDuration:
-customWindowsToEnterFullScreenForWindow:
-customWindowsToExitFullScreenForWindow:
The NSApplication instance includes the NSApplicationPresentationFullScreen flag in its -presentationOptions when an app is currently in full-screen mode.

taken from http://oleb.net/blog/2011/07/whats-new-f...on-part-1/
Reply
#2
Those methods don't exist in 10.4SDK, something like this will have to wait until we migrate to a newer SDK which will be after 11.0 release.
Reply
#3
appreciate the answer davilla
Reply
#4
Hi,

any news on this?

Cheers!
Image
Reply
#5
no
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#6
Post Eden plans involve a bump to 10.6 SDK targeting 10.6. The API calls you mention are 10.7 SDK only. We will have to think about special function support once we bump to the newer SDK.
Reply

Logout Mark Read Team Forum Stats Members Help
[MAC] Lion Fullscreen support0