I\'m thinking about upgrading my OS X
You can install Xcode 4 by temporary editing the System Version.
Done, You now have Xcode 4 on 10.9 :)
Good Luck!