在the NSViewController documentation,它說:「調用NSViewController」(創建之前)是什麼意思?
如果您在nibNameOrNil一零通過,則nibName將返回零和的loadView()將拋出一個異常;在這種情況下,您必須在調用Creating A View Controller之前調用NSViewController,或者覆蓋loadView()。
「創建視圖控制器」鏈接到NSViewController的init()方法。
在初始化之前調用一個類是什麼意思?我已經使用AppKit超過10年了,而且我無法對這句話做出正面或反面的評論。