Coder Social home page Coder Social logo

iOS reserved property name about plank HOT 7 CLOSED

pinterest avatar pinterest commented on June 19, 2024 1
iOS reserved property name

from plank.

Comments (7)

rahul-malik avatar rahul-malik commented on June 19, 2024 2

I just put up a PR to address this #79

from plank.

rahul-malik avatar rahul-malik commented on June 19, 2024

@brurend - Yes we just need to add substitutions for objc reserved keywords. If you'd like to add these cases and put up a PR you can add them here:

https://github.com/pinterest/plank/blob/92c9a3f4719a7bf71b595b2da8e7bcd257c208f5/Sources/Core/StringExtensions.swift

from plank.

brurend avatar brurend commented on June 19, 2024

Thats great, thank you

from plank.

rahul-malik avatar rahul-malik commented on June 19, 2024

@brurend @CavalcanteLeo - PR landed. Feel free to build off of the latest master and let me know if this fixes the issue for you! This patch and others will need to go through more stress testing before it's in an official release.

from plank.

CavalcanteLeo avatar CavalcanteLeo commented on June 19, 2024

Thank you very much! Just waiting for the release

from plank.

CavalcanteLeo avatar CavalcanteLeo commented on June 19, 2024

It still uses class as property. @rahul-malik

captura de tela 2017-10-18 as 12 36 19

from plank.

maicki avatar maicki commented on June 19, 2024

@CavalcanteLeo class is not an objc reserved word, it should be totally fine to use it as a property. @class and Class are reserved keywords.

from plank.

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.