figure 22.1 create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... ·...

8
Figure 22.1 Create a new project.

Upload: others

Post on 06-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.1Create a new project.

Page 2: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.2Create the Core Data model.

Page 3: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.3Make sure an attribute is not optional and has no default value.

Page 4: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.4Add an object controller and label it Customer.

Page 5: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.5Bind the Customer object controller to managed Object Context in File’s Owner.

Page 6: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.6Finish the bindings between the managed object context and the text fields.

Page 7: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.7Core Data catches the error.

Page 8: Figure 22.1 Create a new project.ptgmedia.pearsoncmg.com/images/9780672335778/downloads/... · 2012. 4. 26. · testdoc Use Core Data Use Automatic Reference Counting Include Unit

Figure 22.8Core Data can catch multiple errors.