ypli-chn / YLHook

A delightful library inspired by Functional Programming for AOP based on Aspects.
MIT License
13 stars 2 forks source link

Questions about usability on Swift #1

Open tonyfung99 opened 8 years ago

tonyfung99 commented 8 years ago

Hello, I would like to know is it has any known issues to run in swift?

As there are some discussion that Swift is not good to use AOP because it is not dynamic dispatch. Would like to know more about the limitations if using YLHook in Swift.

Thanks

ypli-chn commented 8 years ago

@tonyfung99 I haven't tried it yet. YLHook is based on Aspects. Aspects can only be used for the subclass of NSObject, so does YLHook.