Sunny Cheng
1 min readOct 17, 2019

--

Hey Brian,

I found that if I dragged any IBOutlet in customView.swift (step 7.Add Entire View as an IB Outlet in UIView File), it keeps crashing in

“let nib = bundle.loadNibNamed(“test”, owner: nil, options: nil)?[0] as! UIView”

it worked fine without dragging any.

My Xcode version is 10.1

I still can’t figure out why…

--

--

Sunny Cheng
Sunny Cheng

Written by Sunny Cheng

礦冶工程碩士,職涯第一個轉彎為新加坡市場的業務經理,自學後又轉彎成 OTT 產業的 iOS 工程師。

No responses yet