Objective c 有没有了解iOS框架的路线图?
我正在寻找一张显示iOS总体框架的地图。在创建viewController时说。创建ViewController及其层次结构的确切对象是什么。还有,假设你有自我,那么超级会是什么呢?比如超级物体是什么,或者如何描绘超级物体。如果有,有人能分享吗 下面是一个例子: 而图像详细描述了实际的类层次结构,参考了直接继承;UIViewController遵循“具有”或“了解”类型设计。以下是从UIViewController.h中提取的界面顶部:Objective c 有没有了解iOS框架的路线图?,objective-c,ios,Objective C,Ios,我正在寻找一张显示iOS总体框架的地图。在创建viewController时说。创建ViewController及其层次结构的确切对象是什么。还有,假设你有自我,那么超级会是什么呢?比如超级物体是什么,或者如何描绘超级物体。如果有,有人能分享吗 下面是一个例子: 而图像详细描述了实际的类层次结构,参考了直接继承;UIViewController遵循“具有”或“了解”类型设计。以下是从UIViewController.h中提取的界面顶部: UIKIT_CLASS_AVAILABLE(2_0) @i
UIKIT_CLASS_AVAILABLE(2_0) @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer> {
@package
UIView *_view;
UITabBarItem *_tabBarItem;
UINavigationItem *_navigationItem;
NSArray *_toolbarItems;
NSString *_title;
NSString *_nibName;
NSBundle *_nibBundle;
UIViewController *_parentViewController; // Nonretained
UIViewController *_childModalViewController;
UIViewController *_parentModalViewController; // Nonretained
UIViewController *_previousRootViewController; // Nonretained
UIView *_modalTransitionView;
UIResponder *_modalPreservedFirstResponder;
UIResponder *_defaultFirstResponder;
UIDimmingView *_dimmingView;
UIDropShadowView *_dropShadowView;
id _currentAction;
UIStoryboard *_storyboard;
NSArray *_storyboardSegueTemplates;
NSDictionary *_externalObjectsTableForViewLoading;
UIView *_savedHeaderSuperview;
UIView *_savedFooterSuperview;
UIBarButtonItem *_editButtonItem;
UISearchDisplayController *_searchDisplayController;
UIModalTransitionStyle _modalTransitionStyle;
UIModalPresentationStyle _modalPresentationStyle;
UIInterfaceOrientation _lastKnownInterfaceOrientation;
UIPopoverController* _popoverController;
UIView *_containerViewInSheet;
CGSize _contentSizeForViewInPopover;
CGSize _formSheetSize;
而图像详细描述了实际的类层次结构,参考了直接继承;UIViewController遵循“具有”或“了解”类型设计。以下是从UIViewController.h中提取的界面顶部:
UIKIT_CLASS_AVAILABLE(2_0) @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer> {
@package
UIView *_view;
UITabBarItem *_tabBarItem;
UINavigationItem *_navigationItem;
NSArray *_toolbarItems;
NSString *_title;
NSString *_nibName;
NSBundle *_nibBundle;
UIViewController *_parentViewController; // Nonretained
UIViewController *_childModalViewController;
UIViewController *_parentModalViewController; // Nonretained
UIViewController *_previousRootViewController; // Nonretained
UIView *_modalTransitionView;
UIResponder *_modalPreservedFirstResponder;
UIResponder *_defaultFirstResponder;
UIDimmingView *_dimmingView;
UIDropShadowView *_dropShadowView;
id _currentAction;
UIStoryboard *_storyboard;
NSArray *_storyboardSegueTemplates;
NSDictionary *_externalObjectsTableForViewLoading;
UIView *_savedHeaderSuperview;
UIView *_savedFooterSuperview;
UIBarButtonItem *_editButtonItem;
UISearchDisplayController *_searchDisplayController;
UIModalTransitionStyle _modalTransitionStyle;
UIModalPresentationStyle _modalPresentationStyle;
UIInterfaceOrientation _lastKnownInterfaceOrientation;
UIPopoverController* _popoverController;
UIView *_containerViewInSheet;
CGSize _contentSizeForViewInPopover;
CGSize _formSheetSize;
嗯,在我看来,ViewController只显示公共sdk(NSObject,UIResponder)。然而,如果你去查看ViewController的源代码,你可以检查使用了哪些,对吗?嗯,在我看来,ViewController只显示公共sdk(NSObject,UIResponder)。然而,若你们确实去查看ViewController的源代码,你们可以检查使用了哪些,对吗?虽然你们的评论是信息性的,但它如何帮助你们找到解决方案呢?我在Swift中的几个视图控制器中也有同样的问题。有没有关于如何更接近解决这个问题的信息?虽然你的评论提供了信息,但它如何帮助解决这个问题?我在Swift中的几个视图控制器中也有同样的问题。有没有关于如何更接近解决这一问题的信息?