如何在Swift中获得对应用程序委托的引用?
最终,我想使用引用来访问托管对象上下文。
"crucial role"
中的UIApplicationDelegate
单是"...to store your app’s central data objects or any content that does not have an owning view controller."
developer.apple.com/documentation/uikit/uiapplicationdelegate