Avatar
万が一解放された後でアクセスしてしまった場合は、実行時エラーだったか未定義動作だったかどういう言語仕様になってたか自信がありません。 (edited)
❤ 1
4:36 AM
Use an unowned reference only when you are sure that the reference always refers to an instance that has not been deallocated. If you try to access the value of an unowned reference after that instance has been deallocated, you’ll get a runtime error.