GithubHelp home page GithubHelp logo

Swift 2.0 support? about realmresultscontroller HOT 3 CLOSED

polqf avatar polqf commented on September 25, 2024
Swift 2.0 support?

from realmresultscontroller.

Comments (3)

polqf avatar polqf commented on September 25, 2024

RealmResultsController is built using Swift2.0

In order to use it you need to install Realm and RealmSwift frameworks manually, apart from RealmResultsController.

You have more information in the README file

from realmresultscontroller.

AF-cgi avatar AF-cgi commented on September 25, 2024

Okay, fine. I integrate Realm and RealmSwift via cocoapods and use_frameworks! parameter. Is that the problem? I don't want to integrate Realm and RealmSwift manually. The dependency manager cocoa pods is great. I think, your dependency links are wrong.

from realmresultscontroller.

isaacroldan avatar isaacroldan commented on September 25, 2024

Hi @AFcgi, I just created a test application using RealmResultsController and installing Realm via Cocoapods and it worked without any issue.

  • If you are using the Demo app included in the Repo, it is prepared to use the Realm frameworks directly (it expects to find them in the Carthage folder, although you would have to build them manually until Realm adds support for Carthage in their Swift 2.0 branch)
  • The library doesn't support Cocoapods yet, not until Realm merges the swift-2.0 branch, because we can't set the dependency in the podspec to a specific branch.
  • My recommendation to use the library in this moment (until we can add compatibility with Cocoapods and Carthage) is to either:
      1. Build the RealmResultsController.framework yourself (clone the repo, execute carthage build --no-skip-currrent, then copy the .framework to your app). After that, you can install Realm via whatever way you want, as long as it is the swift 2.0 version
      1. Copy the source code of the RealmResultsController to your app, and install the swift2.0 Realm.

In any case, I recomend to build Realm frameworks manually as they specify in their documentation

If you still have problems to make this library work in your app, please let me know and i'll try yo help!

from realmresultscontroller.

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.