├── .devcontainer └── devcontainer.json ├── .github └── workflows │ ├── swift-arm.yml │ ├── swift-wasm.yml │ ├── swift-windows.yml │ └── swift.yml ├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── LICENSE ├── Package.swift ├── README.md ├── Sources ├── CoreDataModel │ ├── NSAttributeDescription.swift │ ├── NSAttributeType.swift │ ├── NSEntityDescription.swift │ ├── NSFetchRequest.swift │ ├── NSManagedObject.swift │ ├── NSManagedObjectContext.swift │ ├── NSManagedObjectModel.swift │ ├── NSNumber.swift │ ├── NSPersistentContainer.swift │ ├── NSPredicate.swift │ └── NSRelationshipDescription.swift ├── CoreModel │ ├── Attribute.swift │ ├── AttributeType.swift │ ├── Codable.swift │ ├── Decodable.swift │ ├── Decoder.swift │ ├── Encodable.swift │ ├── Encoder.swift │ ├── Entity.swift │ ├── EntityDescription.swift │ ├── EntityName.swift │ ├── Error.swift │ ├── Extensions │ │ ├── CodingKey.swift │ │ ├── CodingUserInfoKey.swift │ │ ├── Collection.swift │ │ └── String.swift │ ├── FetchRequest.swift │ ├── Macros.swift │ ├── Model.swift │ ├── ObjectID.swift │ ├── Predicate │ │ ├── Comparison.swift │ │ ├── Compound.swift │ │ ├── Expression.swift │ │ ├── KeyPath.swift │ │ └── Predicate.swift │ ├── Property.swift │ ├── PropertyKey.swift │ ├── PropertyValue.swift │ ├── Relationship.swift │ ├── SortDescriptor.swift │ └── Store.swift └── CoreModelMacros │ ├── Attribute.swift │ ├── Entity.swift │ ├── Error.swift │ ├── Macros.swift │ └── Relationship.swift └── Tests └── CoreModelTests ├── CoreDataTests.swift ├── CoreModelTests.swift ├── NSPredicateTests.swift ├── PredicateTests.swift ├── SortDescriptorTests.swift └── TestModel.swift /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.github/workflows/swift-arm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/.github/workflows/swift-arm.yml -------------------------------------------------------------------------------- /.github/workflows/swift-wasm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/.github/workflows/swift-wasm.yml -------------------------------------------------------------------------------- /.github/workflows/swift-windows.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/.github/workflows/swift-windows.yml -------------------------------------------------------------------------------- /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/README.md -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSAttributeDescription.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSAttributeDescription.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSAttributeType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSAttributeType.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSEntityDescription.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSEntityDescription.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSFetchRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSFetchRequest.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSManagedObject.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSManagedObject.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSManagedObjectContext.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSManagedObjectContext.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSManagedObjectModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSManagedObjectModel.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSNumber.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSNumber.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSPersistentContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSPersistentContainer.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSPredicate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSPredicate.swift -------------------------------------------------------------------------------- /Sources/CoreDataModel/NSRelationshipDescription.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreDataModel/NSRelationshipDescription.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Attribute.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Attribute.swift -------------------------------------------------------------------------------- /Sources/CoreModel/AttributeType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/AttributeType.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Codable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Codable.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Decodable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Decodable.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Decoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Decoder.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Encodable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Encodable.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Encoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Encoder.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Entity.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Entity.swift -------------------------------------------------------------------------------- /Sources/CoreModel/EntityDescription.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/EntityDescription.swift -------------------------------------------------------------------------------- /Sources/CoreModel/EntityName.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/EntityName.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Error.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Error.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Extensions/CodingKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Extensions/CodingKey.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Extensions/CodingUserInfoKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Extensions/CodingUserInfoKey.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Extensions/Collection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Extensions/Collection.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Extensions/String.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Extensions/String.swift -------------------------------------------------------------------------------- /Sources/CoreModel/FetchRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/FetchRequest.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Macros.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Macros.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Model.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Model.swift -------------------------------------------------------------------------------- /Sources/CoreModel/ObjectID.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/ObjectID.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Predicate/Comparison.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Predicate/Comparison.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Predicate/Compound.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Predicate/Compound.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Predicate/Expression.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Predicate/Expression.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Predicate/KeyPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Predicate/KeyPath.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Predicate/Predicate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Predicate/Predicate.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Property.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Property.swift -------------------------------------------------------------------------------- /Sources/CoreModel/PropertyKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/PropertyKey.swift -------------------------------------------------------------------------------- /Sources/CoreModel/PropertyValue.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/PropertyValue.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Relationship.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Relationship.swift -------------------------------------------------------------------------------- /Sources/CoreModel/SortDescriptor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/SortDescriptor.swift -------------------------------------------------------------------------------- /Sources/CoreModel/Store.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModel/Store.swift -------------------------------------------------------------------------------- /Sources/CoreModelMacros/Attribute.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModelMacros/Attribute.swift -------------------------------------------------------------------------------- /Sources/CoreModelMacros/Entity.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModelMacros/Entity.swift -------------------------------------------------------------------------------- /Sources/CoreModelMacros/Error.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModelMacros/Error.swift -------------------------------------------------------------------------------- /Sources/CoreModelMacros/Macros.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModelMacros/Macros.swift -------------------------------------------------------------------------------- /Sources/CoreModelMacros/Relationship.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Sources/CoreModelMacros/Relationship.swift -------------------------------------------------------------------------------- /Tests/CoreModelTests/CoreDataTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Tests/CoreModelTests/CoreDataTests.swift -------------------------------------------------------------------------------- /Tests/CoreModelTests/CoreModelTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Tests/CoreModelTests/CoreModelTests.swift -------------------------------------------------------------------------------- /Tests/CoreModelTests/NSPredicateTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Tests/CoreModelTests/NSPredicateTests.swift -------------------------------------------------------------------------------- /Tests/CoreModelTests/PredicateTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Tests/CoreModelTests/PredicateTests.swift -------------------------------------------------------------------------------- /Tests/CoreModelTests/SortDescriptorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Tests/CoreModelTests/SortDescriptorTests.swift -------------------------------------------------------------------------------- /Tests/CoreModelTests/TestModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/CoreModel/HEAD/Tests/CoreModelTests/TestModel.swift --------------------------------------------------------------------------------