Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Heisler98

macrumors member
Original poster
Oct 30, 2010
73
0
I got Xcode 4 and I can't access any documentation (like when you opt+double-click in Xcode 3.2.x) besides the Mac OS X Core Libraries which don't help me with things like ex. UIAlertView. How can I download/move/copy/GET it into Xcode 4 so I can access it?

Now, I can access the header files within the frameworks, but those aren't much help with defining and giving other instances of how the method could be used.

(JIC, sdk is 4.3.x and Xcode 4.x)
Thanks.
 
Firstly, go into Help | Documentation and API Reference, if you click on the eye button on the left-hand side of the documentation window, do you see either the iOS 4.2 Library and/or the iOS 4.3 Library?

If you don't, go into XCode | Preferences, under the Documentation tab, see if you have GET buttons next to the iOS Libraries. If you do, click them and they will download.
 
Firstly, go into Help | Documentation and API Reference, if you click on the eye button on the left-hand side of the documentation window, do you see either the iOS 4.2 Library and/or the iOS 4.3 Library?

If you don't, go into XCode | Preferences, under the Documentation tab, see if you have GET buttons next to the iOS Libraries. If you do, click them and they will download.

OH I totally forgot about that! I'm so glad I'm playing on Mac Rumors instead of working on my game because I'm about to take my MBA with me (that has the new XCode) and I won't have internet so I'd of been screwed!

I'd of had to look up documentation on my iPhone :p
 
Firstly, go into Help | Documentation and API Reference, if you click on the eye button on the left-hand side of the documentation window, do you see either the iOS 4.2 Library and/or the iOS 4.3 Library?

If you don't, go into XCode | Preferences, under the Documentation tab, see if you have GET buttons next to the iOS Libraries. If you do, click them and they will download.

Brilliant, I was getting frustrated for quite a while the other night with the lack of iOS documentation, this has fixed it for me. It wasn't installed by default. I had to go into the preferences as you say, click the "Check and Install Now", which made the iOS documentation entry (greyed out) appear, so I could press the GET button.

Thanks :)
 
Firstly, go into Help | Documentation and API Reference, if you click on the eye button on the left-hand side of the documentation window, do you see either the iOS 4.2 Library and/or the iOS 4.3 Library?

If you don't, go into XCode | Preferences, under the Documentation tab, see if you have GET buttons next to the iOS Libraries. If you do, click them and they will download.

Thanks! It worked, but (just for future reference) I had to click Check and Install Updates button before seeing the iOS 4.3 Library Documentation.

You are a lifesaver! I'm going out of town and so I needed to have the documentation for when I'm on the road w/o 4G/3G access. :)

Wonder why it didn't come pre-installed....
 
Just in case you didn't notice (I didn't for quite a while) The documentation has been moved to the organizer window. It's at the end of the tabs at the top. I find it a bit quicker to get to by simply opening organizer than using the help drop down. I really miss the right-click -> Show in Documentation... :(
 
Just another thanks for pointing out where to tell XCode to download the iOS docs.

jorj
 
Wow. Thank you. I was about to reinstall to try to find the option to install the docs.
 
"right-click -> Show in Documentation"

Just one more example of the completely unnecessary and futile changes in XCode 4. The interface didn't gain ANYthing by changing the keyboard shortcuts either, yet they got mixed around without any explanation.

Sure this version was basically a ground-up rewrite, supposed to set the tone and a new direction for future XCodes. But why mess with (and axe!) features that have done a great job of HELPing developers so far? What was gained?
 
Edited by BioCore: Never mind I got access to offline documentation using the above method.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.