Spaces Support

Discussion in 'Mac Programming' started by davbeck, Jun 13, 2010.

  1. davbeck macrumors regular

    May 16, 2008
    Reno, NV
    The default behavior of NSWindows and spaces is to move to the space the window was first opened in (unless it has been explicitly moved). The correct behavior is to move to the space the window is in only if it is opened and open it in the current space if it is closed. Mail is the only application I have seen that does this correctly. Is there a way to do this in Cocoa?
  2. ritsard macrumors regular


    Jun 18, 2009
    SF Bay Area, CA
    You can control the relationship of windows and space using the setCollectionBehavior and define how you want your window to react to spaces changing around.

Share This Page