Closed cemolcay closed 6 years ago
Thanks for the PR. The suggested change makes sense! Unfortunately it also requires some under the hood changes. I'll release an update soonish.
Here is a new build: https://github.com/Ableton/LinkKit/releases/tag/LinkKit-2.1.4 https://github.com/Ableton/LinkKit/commit/ea61ee712f42c714a6f74cc7b69476a74db94a4a Thanks again!
Change factory method return type to
instancetype
. Usinginstancetype
return type instead ofid
is the cocoa way for creating init methods. It automatically returns the type of initializing class. So, it is more Swift friendly.