- Core Data iOS Essentials
- B.M.Harwani
- 179字
- 2025-02-25 21:03:04
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "The result may be either in the form of an NSArray
(containing the fetched entities) or there may be an error."
A block of code is set as follows:
NSError *error; NSArray *myArray = [myManagedObjectContext executeFetchRequest: fetchRequest error:&error]
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
@property(nonatomic, retain) Customer *cust;
@property(nonatomic, retain) MasterProduct *mastprod;
@property(nonatomic, retain) Product *prod;
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The view contains a toolbar with three bar button item controls—Customers List, Edit, and Add."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.