VeinGuo / VGPlayer

📺 A simple iOS video player by Vein.
https://github.com/VeinGuo/VGPlayer
MIT License
400 stars 101 forks source link

Converting non-escaping value to 'Any' may allow it to escape #68

Open Basagond opened 5 years ago

Basagond commented 5 years ago

Issue comes when I use XCode 10 and target for 12.1 with swift 4.2 version

screen shot 2019-01-02 at 4 45 57 pm
hai3343 commented 5 years ago

Have you worked out any approach to solve the problem?

hai3343 commented 5 years ago

i have the same problem

hai3343 commented 5 years ago

@VeinGuo swift4.2报错哦

mmswide commented 5 years ago

Add @escaping after block: