Skip to content

Item 12: Understand Message Forwarding #3

@der-computerist

Description

@der-computerist

On the topic of Dynamic Method Resolution, the books says:

Using this approach requires the implementation of the method to already be available, ready to plug in to the class dynamically. This method is often used to implement @dynamic properties (see Item 6), such as occurs in CoreData for accessing properties of NSManagedObjects, since the methods required to implement such properties can be known at compile time.

(emphasis mine)

I think it should read: "since the methods required to implement such properties can't be known at compile time."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions