Skip to content

Commit 9611adf

Browse files
committed
Re-enabled automatic generation of attributes
1 parent 4059548 commit 9611adf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Examples/TopHits/TopHits.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
);
351351
runOnlyForDeploymentPostprocessing = 0;
352352
shellPath = /bin/sh;
353-
shellScript = "TARGET_DIR=\"${PROJECT_DIR}/${TARGET_NAME}\"\nCDQI=\"$(dirname $(dirname ${PROJECT_DIR}))/bin/cdqi\"\n# for carthage install use ${PROJECT_DIR}/Carthage/Checkouts/CoreDataQueryInterface/bin/cdqi\n\n#for f in $(find $TARGET_DIR -name \"*.xcdatamodeld\")\n#do\n# FILENAME=\"$(basename $f)\"\n# MODEL_DIR=\"$(dirname $f)\"\n# MODEL=${FILENAME%.*}\n# echo \"Generating model attributes for ${f}\"\n# $($CDQI --in $MODEL_DIR --force \"${MODEL}\")\n#done";
353+
shellScript = "TARGET_DIR=\"${PROJECT_DIR}/${TARGET_NAME}\"\nCDQI=\"$(dirname $(dirname ${PROJECT_DIR}))/bin/cdqi\"\n# for carthage install use ${PROJECT_DIR}/Carthage/Checkouts/CoreDataQueryInterface/bin/cdqi\n\nfor f in $(find $TARGET_DIR -name \"*.xcdatamodeld\")\ndo\n FILENAME=\"$(basename $f)\"\n MODEL_DIR=\"$(dirname $f)\"\n MODEL=${FILENAME%.*}\n echo \"Generating model attributes for ${f}\"\n $($CDQI --in $MODEL_DIR --force \"${MODEL}\")\ndone";
354354
};
355355
/* End PBXShellScriptBuildPhase section */
356356

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ This is a placeholder for the Swift 3 documentation for CDQI v5. CDQI v5 for Swi
99
- Only the _very latest_ versions of each Apple operating system are supported. This is because I used the new `entity()` method of `NSManagedObject`, which is not supported on earlier operating systems. Previous versions of CDQI used a workaround, and I will be porting this to CDQI v5 with conditional compilation in order to support iOS 9.0+, macOS 10.11+, tvOS 9.0+ and watchOS 2.0+.
1010
- There is **absolutely no** documentation, and things have changed. The unit tests are your friends. Look at them. Documentation—both here and inline—is coming.
1111
- Because all of the unit tests pass, it is highly likely that the API will remain stable, but small tweaks are possible, particularly when it comes to Swift 3's new access modifiers.
12-
- The `cdqi` tool used to generate attribute classes has not been updated. This is coming, but for now you will have to write your own attribute classes. See the unit tests for examples. Attribute classes are now much simpler to write due to underlying changes in CDQI, so this isn't much of a burden.
1312
- Core Data inheritance is still not supported. I currently have no plans to do so, but there are workarounds.
1413

1514
As always, if you find a bug or have a feature request, open an issue.

0 commit comments

Comments
 (0)