Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed both scalar accessors and "Value" accessors from atomic to nonatomic #397

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

seanm
Copy link
Contributor

@seanm seanm commented Oct 9, 2024

For the scalar accessors, Xcode's own code generation code makes them nonatomic, so seems to make sense to match it.

For the "Value" accessors, they just add/remove boxing to/from primative scalar types (like int32_t) to NSNumber. The accessor they call is nonatomic, so the addition of boxing doesn't seem to me to add any atomicity to anything.

seanm added 3 commits October 9, 2024 18:08
This facilitates global searches for strings that occur both in code and in the template.
…natomic

For the scalar accessors, Xcode's own code generation code makes them nonatomic, so seems to make sense to match it.

For the "Value" accessors, they just add/remove boxing to/from primative scalar types (like int32_t) to NSNumber. The accessor they call is nonatomic, so the addition of boxing doesn't seem to me to add any atomicity to anything.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant