Question: how do i download xcode for mac?
Answer: Go to https://developer.apple.com/downloads and sign in with your Apple ID (the same one you use for iTunes and app purchases). If you are part of the $99/year Apple developer program, search for "xcode 4.2" (in the search field on the left), then click on "Xcode 4.2 for Snow Leopard," and click on the .