swift3 - Why a dynamic class variable can't be static at the same time? -


i'm writing class should provide dynamic access members objc. , @ same time, class members should static this

class model{     dynamic static var x = 100 } 

but compiler returns error <unknown>:0: error: declaration cannot both 'final' , 'dynamic'.

but why? what's matter?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -