> On Oct 5, 2016, at 4:24 PM, Jordan Rose <jordan_r...@apple.com> wrote:
> 
> However, there are usually better answers than NSInvocation (both in Swift 
> and Objective-C). What are you actually trying to do?

Yeah, the only time I’d recommend using NSInvocation is when implementing a 
proxy object using -forwardInvocation:, but that's explicitly disallowed in 
Swift. In other situations invocations are generally too slow, awkward to use, 
and hard to debug.

—Jens
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to