I have an app that is being compiled with a minimum system requirement of Tiger (OS X 10.4), but I need to include some code to deal with Spaces if the app is executing on Leopard (OS X 10.5).
How do I do this?
(The call I need to make is to -[NSWindow setCollectionBehavior:]
).
The Cross-Development Programming Guide describes the techniques in detail.