Comments (1)
The following change to setValuesFromManagedObject will solve the issue for now:
id value = [managedObject valueForKey:attributeName];
if (value) {
if([value isKindOfClass:[NSData class]])
{
PFFile *imageFile = [PFFile fileWithData:value];
[self setValue:imageFile forKey:attributeName];
} else {
[self setObject:value forKey:attributeName];
}
} else {
[self removeObjectForKey:attributeName];
}
from pfincrementalstore.
Related Issues (20)
- Fix sync of faulted related objects
- Remove object from backing context if it has been removed from Parse
- PFUser Support? HOT 14
- Add documentation HOT 7
- Build upon AFIncrementalStore HOT 3
- GitHub pages instructions should be linked from repository HOT 2
- Add PFFile instructions to README HOT 1
- Investigate duplicate syncing
- to-many relationships not syncing HOT 2
- Object is fetched again from Parse while saving the managed object context HOT 2
- Support fetch limits greater than 100 HOT 3
- Help with Basic Example HOT 1
- Podfile.lock missing HOT 3
- Error inserting new relation HOT 3
- Example unusable, do I miss something? HOT 1
- [Question] I'd like to sync certain objects stored locally. Do I walk right way choosing PFIncrementalStore? HOT 15
- Co-maintainer needed! HOT 5
- PFIncrementalStore issue HOT 1
- PFIncrementalStore for iOS…Has anyone made it work?
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 pfincrementalstore.