Comments (3)
Any way to provide source code if it is not private to test it? You can send it to my mail with steps to reproduce.
from cloudcore.
from cloudcore.
I've checked my code, I can't find some lines in method that had thrown an error in my files. Maybe you're using a fork or some outdated version?
Current version of that method is:
/// Fill provided `NSManagedObject` with data
///
/// - Parameters:
/// - entityName: entity name of `object`
/// - recordDataAttributeName: attribute name containing recordData
private func fill(object: NSManagedObject, entityName: String, serviceAttributeNames: ServiceAttributeNames, context: NSManagedObjectContext) throws {
for key in record.allKeys() {
if self.isCancelled { return }
let recordValue = record.value(forKey: key)
let attribute = CloudKitAttribute(value: recordValue, entityName: entityName, serviceAttributes: serviceAttributeNames, context: context)
let coreDataValue = try attribute.makeCoreDataValue()
object.setValue(coreDataValue, forKey: key)
}
// Set system headers
object.setValue(record.recordID.encodedString, forKey: serviceAttributeNames.recordID)
object.setValue(record.encdodedSystemFields, forKey: serviceAttributeNames.recordData)
}
There is no is [Any]
.
from cloudcore.
Related Issues (20)
- I have a crash in CloudCoreConfig.swift HOT 1
- Implement ordered relationships HOT 1
- Can't form Range with upperBound < lowerBound HOT 1
- Error getting relationships from CloudKit HOT 7
- Changes not synced HOT 3
- Initial properties not available when sync failed HOT 6
- How to sync transformable type ? HOT 4
- Delete Object HOT 3
- Subentities are not fetched
- Merge Conflicts HOT 9
- Save tokens HOT 1
- Dumb Question: Refreshing at start
- didReceiveRemoteNotification is not being called HOT 1
- Binary Data Issue
- Public Database
- Inherited Entity Sync, maybe bug?
- Unable to sync in realtime HOT 1
- [QUESTION] Information when there's no internet
- Swift 4.2
- BUG: Adding item from an offline device, cause records duplication on other synchronized device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudcore.