Adding a folder using drag and drop continues in Xcode4. Look at the following dialog box, the first alternative for Folders will turn the folder yellow, creating an intelligent group.
The second option will turn it into blue, referring to the folder directly.

source share