[swift-users] Should Array's `append(_)` function cause `didSet`?
Marco S Hyman
marc at snafu.org
Sat Jul 8 00:50:28 CDT 2017
> On Jul 7, 2017, at 9:48 PM, Zhao Xin <owenzx at gmail.com> wrote:
> Thank you very much Marco. But What is “outside of an initializer” really bothers me. **Both** `func bar(keysAndValues:Dictionary<String, String>)` works now. **Are they really outside ?**
Uhhh, that is certainly not the results I’d have expected. Perhaps one of the swift language lawyers can explain.
More information about the swift-users