Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
355 views
in Technique[技术] by (71.8m points)

xcode4 - Xcode 4, Core Data Model Version - Set Current Version

I'm confused about how to perform the following function in Xcode 4 to set the model to use after creating a versioned model.

Design > Data Model > Set Current Version

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
  1. Click on the top level .xcdatamodelId file (the one that has the many versions of .xcdatamodel under it as children).
  2. Make sure the Utilities sidepane is visible (if not click on the third "View" button at the top right of the window).
  3. In the Utilities sidepane select the File inspector (little paper icon on the top left)
  4. You will see "Versioned Core Data Model" as a group so just change the "Current" drop-down to your new version.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...