How to view value of Swift “let” constant in Xcode 6 debugger

点点圈 提交于 2019-11-30 14:19:14

This was a bug in Xcode which I can confirm was fixed in Xcode 6.1. (Thanks, Steve Rosenberg.)

This is what I get now, as expected:

The constant is now displayed correctly in the variables view as well, and is no longer listed twice:

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!