josephlin / dynamiccellheightdemo Goto Github PK
View Code? Open in Web Editor NEWUITalbeViewCell with dynamic height, using auto-layout constraints.
UITalbeViewCell with dynamic height, using auto-layout constraints.
Sorry to contact you here, saw your work on AFIncrementalStore (AFbackgroundFix branch), but could not find a way to add comments or issues there..
I am also trying to improve performance of AFIncrementalStore, and was looking at similar changes that you did.
I am running into an issue with a change we both made, and wanted to see if we could our brains together on that one:
Looks like the best performance gain is in executeFetchRequest
, by changing
[childContext performBlockAndWait:^{ [self insertOrUpdateObjectsFromRepresentations...
into
[childContext performBlock:^{ [self insertOrUpdateObjectsFromRepresentations...
However, I am running automated tests where I keep sending the same request every couple of seconds, and that change seems to make the sync eventually crash.
Although it is hard to pinpoint the actual crash as it doesn't crash gracefully, it seems as if the problem happens around this line in insertOrUpdateObjectsFromRepresentation...
:
managedObject = [context existingObjectWithID:managedObjectID error:nil];
I did wrap that call into a performAndWait block, but it doesn't help.
Anyway, I wanted to see if you experienced similar issues when running multiple query in a row quickly, let me know!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.