DISQUS

toxicsoftware.com: Grab that Invocation

  • Daniel Jalkut · 3 years ago
    Nice work! One possible enhancement might be to change the invocation "capture" so that it can record multiples on an array. Then the client could ask for an array of all invocations sent to it. It could even sport a "performInvocationsOnObject:" method.

    Also, the name "CInvocationRecorder" might better represent what this thing does, especially if multi-recording was added.
  • Richard Stacpoole · 3 years ago
    Thanks,

    I have just started using NSInvocation, and this will be useful.

    Also there is a bug in your first code box, you have &firstArgument twice.
  • chrome · 10 months ago
    Great work; saved me a bunch of time writing this myself.