Giter Club home page Giter Club logo

Comments (4)

freakboy3742 avatar freakboy3742 commented on June 11, 2024

I think this is a change that happened somewhere around OS X 10.8 - there was a change in the Objective C API itself that changed the way properties were returned. Nowadays, properties don't need to be called - but that wasn't always the case.

Ideally, we'd be able to support both - but given older OS X instances are going to fade off into the sunset, I'm not sure if this is worth it...

from rubicon-objc.

dimaqq avatar dimaqq commented on June 11, 2024

uhm., I'm targeting iOS; granted I did make other changes in my project, perhaps that was it.

from rubicon-objc.

dgelessus avatar dgelessus commented on June 11, 2024

Yep, there's a special case in ObjCInstance.__getattr__ for properties, it returns the property value directly. Sadly, properties are usually named exactly like their getters, so it's not possible to tell if that behavior is wanted, based on the attribute name. Though I think you can use send_message(UIColor, "blueColor"), that should work regardless of the special property syntax.

from rubicon-objc.

freakboy3742 avatar freakboy3742 commented on June 11, 2024

I believe this has now been addressed; please reopen if it's still a problem for you.

from rubicon-objc.

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.