title: How to assign application to all desktops (spaces) of Mac OS X Lion using Objective C?
body: <p>I am trying to create an Application on Mac OS X Lion which requires application to be assigned to All Desktops (Spaces). This can be manually done by Right clicking on application's dock icon and Selecting <strong>Options > Assign To > All Desktops</strong>. But, I need to find a way to do this via Objective C. Is there a way to achieve this programmatically? </p>