Giter Club home page Giter Club logo

Comments (9)

3lvis avatar 3lvis commented on August 16, 2024

Hi @zarv1k,

Is this even possible with vanilla NSFetchedResultsController? I can't remember been able to make this work before. Would you mind sharing a sample code to try it out and make sure it also works here?

from datasource.

zarv1k avatar zarv1k commented on August 16, 2024

@3lvis ok, when I have time (probably at evening today) I'll try to modify your TableSwift example for using 'firstLetterOfName' as transient property instead of managed.

from datasource.

3lvis avatar 3lvis commented on August 16, 2024

Thanks a lot!

from datasource.

Sorix avatar Sorix commented on August 16, 2024

Transient property sorting is very important by my mind, for example if you want to group items by month without storing month in database (only NSDate usually stored).

If Core Data has issues with «COUNT» maybe it will be better to specify var in DATASource configuration (e.g.: var supportTransient: Bool) where we can enable transient support by specifying that after DATASource initialization?

NSFetchedResultsController supports sectioning by transient properties out of the box without any magic, it is very strange if DATASource won’t have support of that.

from datasource.

3lvis avatar 3lvis commented on August 16, 2024

@Sorix that could be an option.

from datasource.

rottajuliano avatar rottajuliano commented on August 16, 2024

I agree with Sorix, I really needed to sort in daily sections, got stuck while trying to make DATASource support it and now will switch back to NSFetchedResultsController for a while :/

from datasource.

henkvanderspek avatar henkvanderspek commented on August 16, 2024

The funny thing is, it worked in v. 6.0.0 for sure and it crashes in v. 6.1.1

from datasource.

henkvanderspek avatar henkvanderspek commented on August 16, 2024

Cool! Thanks

from datasource.

3lvis avatar 3lvis commented on August 16, 2024

Doing some spring cleaning, please make a new issue if you still want to do this.

from datasource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.