Giter Site home page Giter Site logo

Comments (3)

surkis avatar surkis commented on June 8, 2024

Attached archive of test project, so you can test problem yourself:
fasteasymappingtest.zip

When I changed to swift 3.3, in target Build settings, all working as expected.
If I using to swift 4.1, I have this issue.

from fasteasymapping.

dimazen avatar dimazen commented on June 8, 2024

@surkis thank you so much for provided feedback. I would assume, that this is because in Swift 4 behaviour of swift-objc interoperability has been changed. Therefore subclassing from NSObjectdoesn't reveal class members / methods to ObjC automatically. You have to add attributes @objc dynamic for each property you'd like to use with KVC. FEM uses KVC internally and therefore since those properties are not attributed correctly, it can't find them via KVC.

from fasteasymapping.

surkis avatar surkis commented on June 8, 2024

@dimazen thank you for such fast feedback.
Yes, after I have added @objc dynamic to each attributes in class, it's start working as expected in test project.
I have attached working version here, just for reference who will have same issue:
fasteasymappingtestswift4.zip

Thank you for your help. I will continue with migration in my project tomorrow, and if I will find something new, will contact with you.

from fasteasymapping.

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.