jjzjj

spaceFromRightSide

全部标签

ios - 编译器无法对这个表达式 swift 4 进行类型检查?

更新xCode后,我的代码中出现了这个错误:Thecompilerisunabletotype-checkthisexpressioninreasonabletime;trybreakinguptheexpressionintodistinctsub-expressions代码://checkpopupinwindowframeletspaceFromLeftSide=cutOutViewX.constant+cutOutViewWidth.constant/2-(options.textWidth+padding*2)/2ifspaceFromLeftSidetargetView.f

ios - 编译器无法对这个表达式 swift 4 进行类型检查?

更新xCode后,我的代码中出现了这个错误:Thecompilerisunabletotype-checkthisexpressioninreasonabletime;trybreakinguptheexpressionintodistinctsub-expressions代码://checkpopupinwindowframeletspaceFromLeftSide=cutOutViewX.constant+cutOutViewWidth.constant/2-(options.textWidth+padding*2)/2ifspaceFromLeftSidetargetView.f