Swift: Value of type ‘Published.Publisher’ has no subscripts


If you face Value of type 'Published<Text>.Publisher' has no subscripts error, then you are probably trying to access the variable wrong way. The API has changed since beta when it was first released – a lot has changed since then, causing the issues you’re experiencing. With that being said, the breaking changes introduced is not difficult to resolve.


Depending on your use case you have to access the value with or without $sign , whether you want to access value or binding.

iOS Elements

You can find also the whole implementation in my UI kit — Download below.

Use discount code MOLCIK to get iOS Elements for $29.70 (70% off) 


Buy me a coffeeOut of coffee 😱, please help!