Implicitly Unwrapped Optionals in Swift does not seem to work
问题 I am following the The Swift Programming Language book to investigate strong reference cycle. One of the examples that should be working cannot be compiled in Xcode. I don't understand why the code is broken. On this chapter, there is an example that looks like this: When I try to compile this code in Xcode the this error was thrown: 'self' used before all stored properties are initialized . However, I think it should have been able to compile because I set capitalCity to be Implicitly