Editing Core Data Models
- MobileMe syncing support is deprecated. However, the
syncable
property is still set toYES
by default in the User Info Dictionary for entities and properties, but the model editor doesn’t show this setting. 10787672To explicitly setsyncable
toNO
for an entity or a property, add a key/value pair in your User Info Dictionary:- Select the entity or property for which you want to turn off synching on a model file.
- In the User Info section in the Data Model inspector, add this key/value pair:key
"com.apple.syncservices.Syncable"
value"NO"
Localization
- When you select the Use Base Internationalization option in the project editor, Xcode generates strings files for each your project’s user interface documents. 11462724To resynchronize your strings files with new content from your user interface documents, use the
--generate-strings-file
option of theibtool
command to produce new strings files. Then, manually merge the new files into your existing localized strings.
Debugging: LLDB
- The
po
,print
, andexpression
commands cannot access enumerators directly. You must use the name of the enumeration. 11485295For example, if your code containsenum MyEnum { e1, e2 };
, LLDB emits an error if you typeprint e1
. Instead type,print MyEnum::e1
.
Autolayout: Runtime
- At runtime, when adding subviews to a split view while loading both views from nib files, you may see log messages about unsatisfiable constraints because of autoresizing mask constraints on the split view panes. These are benign log messages because a split view automatically fixes the problem after adding the subview. 11614767In your code, before adding the subview to the split view, send
setTranslatesAutoresizingMaskIntoConstraints:NO
to the subview.
No comments:
Post a Comment