Skip to content

Better document the different ways of implementing NSCopying #534

Open
@madsmtm

Description

@madsmtm

NSCopying states that there are a few different ways to implement it.

One of them is by invoking [super copy] and setting the instance variables afterwards - this should somehow be supported in objc2 with msg_send_id! (although it should definitely be unsafe), and we should probably document this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frameworkAffects the framework crates and the translator for themdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions