AERecord | Super awesome Swift minion for Core Data | iOS library
kandi X-RAY | AERecord Summary
kandi X-RAY | AERecord Summary
I made this for personal use, but feel free to use it or contribute. For more examples check out Sources and Tests.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of AERecord
AERecord Key Features
AERecord Examples and Code Snippets
Community Discussions
Trending Discussions on AERecord
QUESTION
I am trying to solve this really slow, sluggish scrolling on my table.
I'm using core data wrapper AERecord to fetch the data, and it scrolls smooth without the cell.toneImage.image = UIImage(named: tone.image)
The images aren't big ( 350 X 170) but def freezes for a second as soon as I scroll enough to load a new image.
I checked for blended images in simulator, etc.. could it be the data being fetched + loading the image at the same time? Any ideas or suggestions?
...ANSWER
Answered 2017-Jul-27 at 21:40Is tone.image
doing a lazy fetch? I haven't used AERecord
, but that could be an expensive operation if it's lazy loading.
Have you tried doing that fetch on a background thread, so the main thread isn't blocked?
I'd be tempted to try this:
- pass the
tone
object into yourmwCellTableViewCell
mwCellTableViewCell
tries to gettone.image
in a background thread- when that call returns, jump back on to the main thread and set
self.image = toneImage
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install AERecord
Carthage: github "tadija/AERecord"
CocoaPods: pod 'AERecord'
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page