iPhone reference library is a set of reference documents for iPhone OS . It can be downloaded by subscribing to the iPhone OS Library doc set. Select Help>Documentation from Xcode, and click the subscribe button next to the iPhone OS Library doc set, which appears in the left column.