SwiftUI & Xcode crashed error All In One
SwiftUI & Xcode crashed error All In One
Thread 1 EXC_BAD_ACCESS (code=2, address=0x7ffeeb1aeff8)
Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ff7b34d6fd0)
demo
bug ❌
padding()
missing.
operator symbol
Text(hutong.ranking)
.font(.system(.largeTitle, design: .serif))
.fontWeight(.bold)
padding()
// 💩 WTF, Xcode without error hint, Xcode IDE 太难用了呀
OK ✅
.padding()
Text(hutong.ranking)
.font(.system(.largeTitle, design: .serif))
.fontWeight(.bold)
.padding()
refs
typo / circle ref bug ?
https://stackoverflow.com/questions/53498574/thread-1-exc-bad-access-code-2-address-0x7ffeeb1aeff8
©xgqfrms 2012-2020
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/16277145.html
未经授权禁止转载,违者必究!