Leopard Reference Library: Cocoa
This page lists new and recently changed documents, including Articles, Guides, Reference, Release Notes, Sample Code, Technical Notes, and Technical Q&As. Most documents have a revision history, which details additions and changes to that document since the previous version. Look for "Revision History" at the bottom of the document or in the document's table of contents.

Items are listed in reverse chronological order by publication date. To see the list sorted by the type of revision, click Sort by Revision Type. Items published for the first time (First Version) will be at the top of the list, followed by items with new or changed content (Content Update), followed by items with small fixes, such as typos and format errors, but no significant content changes (Minor Change).

New and updated Reference Library documents are announced in the bi-weekly Apple Developer Connection News, available as an option to ADC members. See the Membership Overview page for details on joining.
Document Revision Descriptions
On Off
Sort by
Date
Sort by
Title
Sort by
Revision Type
Sorted by
Resource Type
2009-03-04 Core Data Overview (HTML)
First version of a new document that describes a roadmap for learning Core Data.
Minor Change Getting Started
2009-05-06 Binary Data Programming Guide for Cocoa (HTML) (PDF)
Corrected the code listing under Modifying Bytes to account for the null terminator on the strings.
Minor Change Guides
2009-05-06 Key-Value Observing Programming Guide (HTML) (PDF)
Clarified Core Data requirement in Registering Dependent Keys.
Minor Change Guides
2009-05-06 Predicate Programming Guide (HTML) (PDF)
Corrected a typographical error.
Minor Change Guides
2009-05-06 Stream Programming Guide for Cocoa (HTML) (PDF)
Added a missing comment to a code sample.
Minor Change Guides
2009-03-04 Core Data Programming Guide (HTML) (PDF)
Minor revision to accommodate new Getting Started document.
Minor Change Guides
2009-03-04 Core Data Snippets (HTML) (PDF)
New document that provides snippets of code that you can use when writing a program that uses Core Data.
First Version Guides
2009-03-04 Core Data Utility Tutorial (HTML) (PDF)
Updated title to better reflect purpose.
Minor Change Guides
2009-02-04 Archives and Serializations Programming Guide for Cocoa (HTML) (PDF)
Replaced instances of "/tmp" with NSTemporaryDirectory().
Minor Change Guides
2009-02-04 Collections Programming Topics for Cocoa (HTML) (PDF)
Corrected a code example showing indexOfObjectIdenticalTo:.
Minor Change Guides
2009-02-04 Key-Value Coding Programming Guide (HTML) (PDF)
Added substantial task information and sample code.
Content Update Guides
2009-02-04 NSPersistentDocument Core Data Tutorial (HTML) (PDF)
Updated description of editing the plist file.
Minor Change Guides
2009-02-04 NSPersistentDocument Core Data Tutorial for Mac OS X v10.4. (HTML) (PDF)
Re-release of Mac OS X v10.4 version of NSPersistentDocument Core Data Tutorial.
First Version Guides
2009-02-04 Tree-Based XML Programming Guide for Cocoa (HTML) (PDF)
Replaced use of deprecated method loadDataRepresentation:ofType: with readFromData:ofType:error:.
Minor Change Guides
2008-11-19 Property List Programming Guide (HTML) (PDF)
Combined Cocoa and Core Foundation documents on property lists and reorganized material. Added a "Quick Start" mini-tutorial and a chapter on programmatically creating property lists. Mentioned iPhone OS as a platform on which property lists are important.
Content Update Guides
2008-10-15 Data Formatting Programming Guide for Cocoa (HTML) (PDF)
Corrected typographical errors.
Minor Change Guides
2008-10-15 String Programming Guide for Cocoa (HTML) (PDF)
Added new aricle on character clusters; updated list of string format specifiers.
Minor Change Guides
2008-09-09 Event-Driven XML Programming Guide for Cocoa (HTML) (PDF)
Added note about introduction of namespace support in v10.4.
Minor Change Guides
2009-05-06 Foundation Constants Reference (HTML) (PDF)
Corrected the definition of NSDecimalNoScale.
Minor Change Reference
2009-05-06 NSCountedSet Class Reference (HTML) (PDF)
Referenced CFBag, which implements similar functionality.
Minor Change Reference
2009-05-06 NSData Class Reference (HTML) (PDF)
Added subclassing notes. Clarified behavior of bytes and getData:length: methods.
Minor Change Reference
2009-05-06 Search Kit Reference (HTML) (PDF)
Added notes that SKSearch and SKIndex objects cannot be used with CFMakeCollectable.
Minor Change Reference
2009-04-08 NSDictionary Class Reference (HTML) (PDF)
Corrected typographical errors.
Minor Change Reference
2009-04-08 NSUserDefaults Class Reference (HTML) (PDF)
Updated property list storage details.
Minor Change Reference
2009-03-04 NSPointerArray Class Reference (HTML) (PDF)
Clarified behavior in fast enumeration.
Minor Change Reference
2009-02-04 NSCalendar Class Reference (HTML) (PDF)
Clarified return value of ordinalityOfUnit:inUnit:forDate:.
Minor Change Reference
2009-02-04 NSKeyValueCoding Protocol Reference (HTML) (PDF)
Accessor search descriptions of setValue:forKey:, valueForKey:, mutableArrayValueForKey:, and mutableSetValueForKey: now point to the Key-Value Coding Programming Guide.
Minor Change Reference
2009-02-04 NSString Application Kit Additions Reference (HTML) (PDF)
Documented NSStringDrawingTruncatesLastVisibleLine constant.
Minor Change Reference
2009-02-04 NSString Class Reference (HTML) (PDF)
Changed the abstract of getCharacters: to more closely reflect that of getCharacters:range:.
Minor Change Reference
2009-01-06 NSOutputStream Class Reference (HTML) (PDF)
Miscellaneous edits.
Minor Change Reference
2008-11-19 NSDateFormatter Class Reference (HTML) (PDF)
Added note about supported behaviors for iPhone OS.
Minor Change Reference
2008-11-19 NSNumberFormatter Class Reference (HTML) (PDF)
Added note about supported behaviors for iPhone OS.
Minor Change Reference
2008-11-17 NSMutableArray Class Reference (HTML) (PDF)
Noted in overview that predicates are not available on iPhone OS.
Minor Change Reference
2008-10-15 Foundation Functions Reference (HTML) (PDF)
Corrected discussions of NSMapInsert and NSTemporaryDirectory; clarified behavior of NSPointInRect.
Minor Change Reference
2008-10-15 NSAtomicStore Class Reference (HTML) (PDF)
Corrected discussion of save: method.
Minor Change Reference
2008-10-15 NSAttributedString Class Reference (HTML) (PDF)
Added cautionary note about isEqual: comparison of NSAttributedString objects having attributes such as attachments, lists, and tables.
Minor Change Reference
2008-10-15 NSCharacterSet Class Reference (HTML) (PDF)
Corrected typographical error.
Minor Change Reference
2008-10-15 NSDate Class Reference (HTML) (PDF)
Revised documentation of description and descriptionWithLocale: methods.
Minor Change Reference
2008-10-15 NSDateComponents Class Reference (HTML) (PDF)
Clarified meaning of weekday and weekday ordinal units.
Minor Change Reference
2008-10-15 NSExpression Class Reference (HTML) (PDF)
Corrected SUBQUERY expression example.
Minor Change Reference
2008-10-15 NSFileWrapper Class Reference (HTML) (PDF)
Corrected -initWithSerializedRepresentation: method description.
Minor Change Reference
2008-10-15 NSIndexPath Class Reference (HTML) (PDF)
Clarified indexAtPosition: description.
Minor Change Reference
2008-10-15 NSKeyedArchiver Class Reference (HTML) (PDF)
Clarified behavior of encodeObject:forKey: for nil values.
Minor Change Reference
2008-10-15 NSKeyedUnarchiver Class Reference (HTML) (PDF)
Added notes that keys must not be nil.
Minor Change Reference
2008-10-15 NSManagedObject Class Reference (HTML) (PDF)
Clarified descriptions of primitiveValueForKey: and setPrimitiveValue:forKey:.
Minor Change Reference
2008-10-15 NSManagedObjectContext Class Reference (HTML) (PDF)
Clarifed return value for countForFetchRequest:error:.
Minor Change Reference
2008-10-15 NSMutableParagraphStyle Class Reference (HTML) (PDF)
Removed erroneous statement that 0 is not accepted by setTighteningFactorForTruncation: method.
Minor Change Reference
2008-10-15 NSPointerFunctions Class Reference (HTML) (PDF)
Added definition of NSPointerFunctionsOpaqueMemory.
Minor Change Reference
2008-10-15 NSPredicateEditor Class Reference (HTML) (PDF)
Removed broken link.
Minor Change Reference
2008-10-15 NSScanner Class Reference (HTML) (PDF)
Documented hexadecimal scanning methods introduced in Mac OS X v10.5
Minor Change Reference
2008-10-15 NSSet Class Reference (HTML) (PDF)
Corrected typographical errors.
Minor Change Reference
2008-10-15 NSSound Class Reference (HTML) (PDF)
Updated the list of supported sound formats.
Minor Change Reference
2008-10-15 NSStream Class Reference (HTML) (PDF)
Revised descriptions of NSStreamStatus constants.
Minor Change Reference
2008-09-09 Foundation Data Types Reference (HTML) (PDF)
Added descriptions for NSInteger and NSUInteger.
Minor Change Reference
2009-04-29 File Wrappers with Core Data Documents (HTML) (DMG) (ZIP)
This sample demonstrates how directory file wrappers can be used with NSPersistentDocument.
First Version Sample Code