View Controller Programming Guide for iOS--(二)

管理类联考——逻辑——真题篇——按知识分类——综合推理 29、某部门抽检了肉制品、白酒、乳制品、干果、蔬菜、水产品、饮料等﹖类商品共521种样品,发现其中合格样品515种,不合格样品6种。已知: (1)蔬菜、白酒中有2种不合格样品。 (2)肉制品、白酒、蔬菜、水产品中有5种不合格样品。 (3)蔬菜、乳制品、干果中有3种不合格样品。 根据上述信息,可以得出以下哪项? A. 乳制品中没有不合格样品。 B. 肉制品中没有不合格样品。 C. 蔬菜中没有不合格样品。 D. 白酒中没有不合格样品。 E. 水产品中没有不合格样品。 31~32题基于以下题干: 某中学举行田径运 阅读详情

三,Navigation Controllers

1,Navigation interface
下图展示了navigation interface的关键视图(views)。Navigation view是navigation controller’s view属性,是你嵌入到一个window或使用其他的view controller展示使用的view。
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
2,The Objects of a Navigation Interface:
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
下图显示了navigation controller和navigation stack中的Objects的主要关系。
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 

需要注意的是topViewController和visibleViewController属性不一定相同。如果你modally present a view controller,那么topViewController不改变,而visibleViewController改变了。

3,Creating a Navigation Interface:
4,Loading Your Navigation Interface from a Nib File:
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
5,通过代码创建 a Navigation Interface:
 navigationController = [[UINavigationController alloc] initWithRootViewController:rootController];
6,Adopting a Full-Screen Layout for Navigation Views:

set wantsFullScreenLayout属性为YES.   如果你正在创建一个navigation interface并且想你的自定义内容占据尽可能多或全部的屏幕,下面是你需要采取的步骤:

1)配置你的自定义view的frame来充满整个屏幕。确认配置你的views的autoresizing 属性as well。 Autoresizing attributes确保了你的view needs to be resized,it adjusts its content accordingly.alternatively(二者选一),当你的view resized,你可以call 你的view的setNeedsLayout方法来indicate(表明,指出)他的subviews的位置应该被调整。

2)设置你的navigation controller的navigationBar.translucent的translucent property为YES。这允许你的content to underlap the navigation bar。

3)To Underlap the status bar,设置你的View Controller的wantsFullScreenLayout属性为YES。(the navigation bar必须是translucent,以便这个属性被识别)。

4)to underlap an optional toolbar,设置toolbar.translucent property  to YES.

当展示你的Navigation Interface的时候,the window或者你的navigation view要添加到的view也必须被sized appropriately(适当地)。如果你使用一个navigation controller作为主interface,then你的main window应该被sized to match(匹配) the screen dimensions(尺寸,容积)。换句话说,你应该设置他的尺寸为匹配UIScreen class的bounds属性(替代 apppicationFrame 属性)。实际上,对于一个navigation interface,创建的window with the full-screen bounds in all situations(在所有情况下)是没错的,因为navigation controller 总是自动地调整他的views的尺寸 to accommodate (容纳,使适应) the status bar。

如果你使用modally展示一个navigation controller,the content presented by that navigation controller is limited by the view controller doing the presenting. If that view controller does not want to underlap the status bar, then the modally presented navigation controller is not going to be allowed to underlap the status bar either. In other words, the parent view always has some influence over how its modally presented views are displayed.

7,Modifying the Navigation Stack:

1)pushViewController:animated: 

2)popViewControllerAnimated:

3)setViewController:animated: 回复navigation stack to a 之前的状态

4)popToRootViewControllerAnimated:

5)popToViewController:animated:

6)setViewControllers:animated:

8,Monitoring Changes to the Navigation Stack:
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
9,Customizing the Navigation Bar Appearance:

1)配置 Navigation Item Object: Navigation Bar由 UINavigationItem组成,which are stored using a stack data structure known as the navigation item stack. Each navigation item provides a complete set of views and content to be displayed in the navigation bar. Unlike a navigation controller, a navigation bar is an actual view object that can be embedded inside other views.

View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 

每个Navigation Bar’s stack 总是parallel(平行地) navigation controller’s stack,即一个viewController对应一个Navigation Bar,这种一对一的关系。

一个navigation bar有3个主要位置放置items: left right center.

a)Left位置的属性:backBarButtonItem  leftBarButtonItem

b)center位置的属性:titleView

c)right位置的属性:rightBarButtonItem

下图为Navigation bar structure:

View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 

2)显示或隐藏Navigation bar:使用setNavigationBarHidden:animated:,永远不要使用hidden属性。在view Controller的viewWillAppear方法中设置是否显示navigation bar。

3)直接修改 navigation bar Object :在一个navigation interface中,navigation controller拥有他的UINavigationBar对象并且负责管理他,你不能更换NavigationBar或修改他的bounds,frame,or alpha directly.然而,有一些属性你可以使用:

a)barStyle 属性 

b)translucent属性

c)tintColor属性

(省略图)

对于transulucent属性,如果其underlying view controller的main view是一个scroll view,那这个属性没有什么作用,navigation bar自动调整 将navigation bar下面的内容scroll out。对于其他类型的views将不做此调整。

4)使用自定义的按钮和视图作为Navigation Items:

使用视图控制器的navigationItem属性获得导航控制条,可以设置其leftBarButtonItem、leftBarButtonItems、title、titleView、rightBarButtonItem、rightBarButtonItems、leftItemsSupplementBackButton属性
如果视图控制器不修改导航项,那导航控制器提供一系列默认的对象,能满足你大部分情形。当然,你所做的任何的自定义的行为优先于默认的对象:
对于顶端的视图控制器来说,导航栏左边的项的显示取决于下面的规则:
1)如果视图控制器指定了navigationItem. leftBarButtonItem,他将优先显示。
2)如果你没有设置,而他的下一级视图控制器设置了backBarButtonItem属性,则显示他。
3)如果都没有,则显示下一级视图控制器的标题title属性.

显示在中间的内容按下面的规则显示:
A)显示navigationItem.titleView。
B)显示navigationItem.title。
C)显示视图控制器的Title。

右边显示的内容规则:
A)显示navigationItem.rightBarButtonItem
B)不显示任何内容.

下图展示了自定义的buttons

(省略)

创建自定义button的代码:

// View 3 - Custom right bar button with a view

UIBarButtonItem *segmentBarItem = [[UIBarButtonItem alloc] initWithCustomView:segmentedControl];

self.navigationItem.rightBarButtonItem = segmentBarItem;

你应该在viewDidLoad方法中创建的items.

5)Using Edit and Done Buttons: 在显示和edit modes之间切换。UIViewController的 editButtonItem方法返回一个预配置的button,当点击他时就切换Edit and Done按钮,并调用viewcontroller’s setEditing:animated:方法。使用下面的方法添加:

myViewController.navigationItem.rightBarButtonItem = [myViewController editButtonItem];

10,Displaying a navigation toolbar::为你的navigation interface配置toolbar:

1)设置toolbarHidden属性为NO。

2)Assign an array of UIBarButtonItem object to toolbarItems 属性。
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 

创建代码:

   UIBarButtonItem *flexibleSpaceButtonItem = [[UIBarButtonItem alloc]

                        initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace

                        target:nil action:nil];

   UIBarButtonItem *sortToggleButtonItem = [[UIBarButtonItem alloc]

                                    initWithCustomView:sortToggle];

   // Set our toolbar items

   self.toolbarItems = [NSArray arrayWithObjects:

                         flexibleSpaceButtonItem,

                         sortToggleButtonItem,

                         flexibleSpaceButtonItem,

                         nil];



除了可以在初始化时创建toolbar,viewController还可以使用setToolbarItems:animated:动态更改其toolbar。

11,显示和隐藏Toolbar:要为一个特定的viewController隐藏一个toolbar,需要设置hidesBottomBarWhenPushed属性为YES。Navigation controller会generate(使发生,形成)合适的动画—在viewcontroller被推入或(移除出)导航栈.

如果你想在某时隐藏,你可以使用navigation Controller的方法setToolbarHidden:animated: ,一般都是和setNavigationBarHidden:animated:一起使用,来创建一个临时的全屏幕view。

四,Tab Bar Controllers

1,介绍
每个viewController被定义成每个tabs的root view Controller in the tab bar view。下图展示了时钟app的界面,
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
2,Tab Bar Interface的组成:
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 

如果viewControllers属性超过5个items,tab bar controller会自动添加一个more view controller来处理显示附加的items。你可以通过UITabBarController的moreNavigationController属性获得他,但是不能被customized,并且不会显示在任何的被tab bar controller管理的view Controller列表中。他会自动地在需要的时候显示并且与你的custom content 隔离。

虽然tab bar view是一个关键的部分,但是你不能直接修改他。The tab bar controller object assembles(集合,聚集) the contents of the tab bar from the UITabBarItem objects provided by you custom view Controllers。下图展示了他们之间的关系。
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 

因为tab bar item用来配置tab bar,所以你必须首先配置每个view controller的tab bar item。如果你正在使用IB,你可以定制title和image在nib file中。如果你使用代码,你必须创建一个新的UITabBarItem。

3,Creating a tab bar interface:
4,Defining the Custom View Controllers for a tab bar interface:
5,Creating a tab bar interface Using a Nib File:
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
6,Creating a Tab Bar Interface Programmatically:
tabBarController.viewControllers = controllers;
7,Creating a Tab Bar Item programmatically:

      UIImage* anImage = [UIImage imageNamed:@"MyViewControllerImage.png"];

      UITabBarItem* theItem = [[UITabBarItem alloc] initWithTitle:@"Home" image:anImage tag:0];

      self.tabBarItem = theItem;

8,Managing tabs at runtime:

使用delegate object

1)Adding and Removing tabs:  使用setViewControllers:animated:方法重新设置viewControllers列表。代码:

2)Preventing the Selection of Tabs:使用delegate object的tabBarController:shouldSelectViewController:方法返回的BOOL值。如下:

3)Monitoring user-initiated tab changes:有两种类型的user-initiated changes:

a)用户可以选择一个tab

b)用户可以重新排列tabs

每种类型的更改都are reported to tab bar controllers’s delegate(遵循UITabBarControllerDelegate协议)。

9,Preventing the Customization of tabs:

当你希望用户可以重新排列tabs,你可以指定一个an array of view controller objects to the  CustomizableViewController属性。

重要:添加或移除view controllers在你的tab bar interface中也重置了customizable view controller的数组为default value,允许所有的view controllers to be customized again。因此,如果你修改了viewControllers属性(或调用了setViewControllers:animated:方法)并且还想limit the customizable view controllers,你必须也更新the array of objects in the customizableViewControllers属性.


10,Changing a tab’s badge:
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 

要想设置a badge to a tab,需要指定一个non-nil value到相应的tab bar item的badgeValue属性。例如,一个viewController要在他的badge中显示新items的数量,使用下面类似的代码:

   self.tabBarItem.badgeValue = nil;

需要由你来决定何时显示badge values and 更新badge value在合适的时候。然而,如果你的view Controller包含一个property with such a value,你可以使用KVO notifications to detect(检测) changes to the value and update the badge accordingly。

11,Tab bar controllers and view Rotation:除非每个ViewControlelr都支持rotation,否则tabbar不会支持rotation

12,Tab bars and full-Screen layout:

你仍然可以使用wantsFullScreenLayout属性。

五,iPad-Specific Controllers

1,Popovers:
2,Split View Controller:

六,Modal View Controllers

1,介绍
当你modal一个ViewController时,系统创建了一个父子关系。特别地,显示Modal的viewController更新他的modalViewController的属性指向他显示的viewController。同样地,被显示的viewController更新TA的parentViewController属性指向显示他的viewController。
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
每个ViewController都可以modal另一个single view Controller,甚至是他们自己本身。
2,Configuring the Presentatin Style for Modal Views:

对于iPad,你可以使用几种不同的styles显示modally view,对于iPhone,modally view总是覆盖可见的window部分,但是运行于iPad上时,view Controller使用modalPresentationStyle属性来决定他们的显示方式,是显示可见区域还是全屏。

下图显示了core presentation styles( the UIModalPresentationCurrentContext style使一个view Controller采用其parent的presentation style)。
View Controller Programming Guide for iOS--(二) - supershll - 记忆里
 
3,Presenting a View Controller Modally:

1)创建一个要modal的view Controller;

2) 设置viewController的 modalTransitionStyle 属性。

3)指定一个delegate object 。

4)调用 presentModalViewController:animated: 方法。

 

关于modalTransitionStyle:

UIModalTransitionStyleCoverVertical:垂直方向滑入视图。这是默认的style。
UIModalTransitionStyleFlipHorizontal:水平反转方式显示视图
UIModalTransitionStyleCrossDissolve:淡入淡出方式
你需要显式地指定取消视图控制器的按钮,如Done 和 cancel按钮
还有一种样式:
UIModalTransitionStylePartialCurl
半翻页效果,能自动取消显示,不用指定返回按钮。
4,Dismissing a Modal View Controller:
5,Presenting Standard System Modal View Controllers:

使用标准系统Modal View Controllers:

每个系统view Controller都声明了一个相应的protocol(协议),你可以在你的delegate对象中实现他们的方法。一般delegate实现选择或者取消操作的方法的实现。你的delegate对象应该总是准备好处理这两种情形。一项最重要的事情就是dismiss ModalViewController(通过调用dismissModalViewControllerAnimated:方法)。

下表列出了一些 standard system view controllers in iOS。更多信息请参看其类信息。

Address Book UI提供的viewControllers:ABNewPersonViewController,ABPeoplePickerNavigationController,ABPersonViewController,ABUnknownPersonViewController。

 

Event Kit UI提供的: EKEventViewController,EKEventEditViewController

 

Game Kit提供的: GKPeerPickerController,GKAchievementViewController,GKMatchmakerViewController,GKLeaderboardViewController

 

Message UI提供的:MFMailComposeViewController,MFMessageComposeViewController

 

Media Player提供的:MPMediaPickerController,MPMoviePlayerViewController

 

UIKit提供的: UIImagePickerController, UIVideoEditorController

 

注意:虽然在Media Player框架中的MPMoviePlayerController class 可能technically(技术上,学术上)被认为是一个modal Controller,但semantics(语义上)使用他有一些差别。 Instead of presenting the view controller yourself,you initialize it and tell it to play its media file. The View controller then handles all aspects of presenting and dismissing its view. (However ,the MPMoviePlayerViewController class can be used instead of MPMoviePlayerController as a standard view Controller for playing movies.)

七,Combined View Controller Interfaces

UIKit框架提供了only a handful of(一把,少量的) standard view controllers:

1)Custom view Controller

2)navigation controller

3)Tab bar controller

4)split view controller

 

你可以单独使用这些viewController, or in conjunction with(连同,共同,与---协力) other view Controllers来创建更复杂的界面。

下面的章节告诉你如何结合table view,navigation and tab bar controllers in your iOS applications.

 

1,Adding a Navigation Controller to a Tab Bar Interface:
2,Creating the Objects in IB:
3.Creating Objects Programmatically:
5,Displaying a Tab Bar Controller Modally:
6,Using Table View Controllers in a Navigation Interface
【光子AI / Photon.AI】manus 通用 Agent 的实现核心技术原理与应用 摘要 Manus是一款由国内团队开发的通用AI Agent,其核心技术原理基于多智能体协作架构、云端全能沙箱、规划-执行-反思循环等系统工程方法。与传统的对话式AI不同,Manus能够在独立的Linux虚拟机环境中自主规划并执行复杂任务,通过编写和运行代码来解决问题,具备强大的纠错能力和工具使用能力。 核心应用场景包括深度行业研究、自动化办公、生活助理、辅助编程和跨平台信息整合等。Manus的工程化落地优势体现在沙箱环境、多智能体调度和容错机制等方面,使其能够完成需要多步骤操作和多种工具调用的复杂任务,将A 阅读详情

相关推荐

从理论到板级:FOC电机驱动硬件电路全链路设计解析

本文从硬件工程师视角,深度解析FOC电机驱动从理论到板级实现的全链路设计。重点剖析了电源保护、核心采样电路、三相逆变桥与驱动电路等关键硬件模块的设计要点与实战经验,强调硬件是FOC算法可靠运行的基石,并提供了PCB布局布线的核心原则,帮助开发者构建高性能、高可靠性的电机驱动硬件平台。

weixin_29240711的博客 332

View Controller Programming Guid for iOS 笔记

1.View Controller 根蒂根基 1.1 View Controller 分类 ViewController分为container view controller 和content view controller两种类型。 这两种类型只是用处不合,前者作为一个容器容纳其他的view controller,后者用来显示内容,代码上方差别不大。前者包含UINavigationView

wxwldu的专栏 866

matinal:SAP 采购中形成的差异

如果库存足够会影响到物料。

matinal 當冬夜漸暖 。公众号:matinal 819

View Controller Programming Guide for iOS摘要

View Controller Programming Guide for iOS View Controllers分类 View Controller的内容可以通过多种方式来展示: 把view controller作为window的根视图控制器 把view controller作为一个容器的子控制器 通过弹出popover来展示view controller 从另一个view controll

了凡 1399

C语言的文件读取与写入操作

学了一年的C语言了,现在回过头来做一下总结。并且博客开了挺长一段时间却没有谢什么实际的东西。现在做下总结,对之后的学习帮助应该挺大的。与大家共勉! 现在,我先来介绍一下C语言的文件读取与写入的原理和具体操作方法。 C语言文件读取与写入是通过将文件看成一个字符序列进行读入和写出的。所以读取与写入文件就用到了指针,而这个指针是一个特殊的指针,我们称为文件指针。 指针名称是

wzyxdwll的博客 3万+

永磁同步电机定子槽型设计实战:从梨形槽到矩形槽的NVH优化之路

本文深入探讨了永磁同步电机定子槽型设计在NVH优化中的关键作用,对比了梨形槽与矩形槽的性能差异。通过Ansys Maxwell仿真和实际案例,揭示了矩形槽在提升槽满率、降低电磁噪声方面的优势,并总结了五大设计黄金法则,为电机设计工程师提供了实用指导。

weixin_28740299的博客 493

iOS开发 MFMessageComposeViewController(发送短信)的使用

一.需要导入messageUI.Frameworks(#import) 二.步骤: if NSClassFromString("MFMessageComposeViewController") != nil { if MFMessageComposeViewController.canSendText() { let messageCompose = MFMessageC

wgl_happy的专栏 2077

3.5.3以太网ETH TC8-PMA物理层测试

英文原版-OA_Automotive_Ethernet_ECU_TestSpecification_Layer_1_100BASE-T1_v3.0.pdf。PMA测试时各个测试项目所进入的测试模式不同,如TX_01对应测试模式1;TX_04对应测试模式5;例如:以上就是今天要讲的内容,本文仅仅简单介绍了pandas的使用,而pandas提供了大量能使我们快速便捷地处理数据的函数和方法。TX_07对应测试模式5;物理层测试主要分为两部分:IOP测试(包括链接时间,信号质量,线路诊断),PMA测试。

qq_28664971的博客 7690

view controller programming guide for ios

https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/DefiningYourSubclass.html#//apple_ref/doc/uid/TP40007457-CH7-SW1

mandagod的博客 293

【R语言】基于Biomod2集成平台探究物种分布区的构建流程(SDMs)

我为什么想要写这个内容呢?其实我已经想了很久了,但是一直没有把所有的代码给理清楚,此外这将是我之后研究的主要方向。本博客讲述了如何基于Biomod2集成平台构建物种分布模型的全流程,以及我在使用该模型时的一些心得,同时还有我提供的一些小福利(一键处理代码),可以十分快捷的帮助你完成SDMs的构建,写出你的中英文论文。

amyniez的博客,欢迎交流讨论 3889

001、NPU是什么?为什么嵌入式设备需要它?

本文通过作者调试工业相机板卡的经历,引出嵌入式设备为何需要NPU(神经网络处理器)的探讨。文章对比了CPU和NPU的设计哲学差异,指出NPU通过专用乘加器阵列和优化的数据流,能高效处理神经网络运算。作者分析了嵌入式设备使用NPU的三大优势:算力提升、功耗降低和实时性保障,并介绍了三类常见NPU形态。通过一个YOLOv5模型调试案例,揭示了NPU使用中的常见陷阱,最后给出五条实用建议,强调理解NPU原理和局限的重要性。文章生动展现了NPU在嵌入式AI应用中的关键作用。

m0_50546716的博客 125

Table View Programming Guide for iOS 官方文档翻译

About Table Views in iOS Apps( iOS应用程序中的Table View) Table views are versatile user interface objects frequently found in iOS apps. A table view presents data in a scrollable list of multiple rows tha...

yofer张耀琦的专栏 2349

使用MATLAB结合EasySpin进行ESR模拟的详细步骤及示例代码

安装EasySpin:确保你已经安装了EasySpin工具箱,它可以帮助你进行ESR模拟。你可以从EasySpin的官方网站(https://easyspin.org/)下载并安装。准备实验数据:将实验得到的EPR数据整理成合适的格式,一般包含磁场(Magnetic Field)和信号强度(Intensity)两列。进行模拟:使用EasySpin的函数对单线态氧自由基和超氧自由基进行模拟。调整参数:通过调整模拟参数,使模拟得到的峰型和峰位置与实验数据尽可能匹配。导出数据。

AI的内部世界的博客 2004

0302--iOS之阅读View Controller Programming Guide for iOS---(二)View Controller Definition

Defining Your Subclass --定义你的子类vc You use custom subclasses of UIViewController to present your app’s content. Most custom view...

qq_30185503的博客 459

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

View Controller Programming Guide for iOS---(二)---View Controller Basics

View Controller Basics Apps running on iOS–based devices have a limited amount of screen space for displaying content and therefore must be creative in how they present information to the user. ...

312

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

0305--iOS之阅读View Controller Programming Guide for iOS---(二(下))Preserving and Restoring State

Preserving and Restoring State --保存和恢复状态 View controllers play an important role in the state preservation and restoration process. St...

qq_30185503的博客 416

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

《View Controller Programming Guide for iOS》笔记

1 ViewController分两种:Content View Controller 和 Container View Controller。 2 View Controller的职责:对内管理Views,对外跟其他ViewController通信和协调,Storyboards可以降低对外部分的复杂度。 3 ViewControllers are brains of you

苹果君的工作室 4457

View Controller Programming Guide for iOS--(一)

一,ViewController基础 1,基础 通过使用不同的View Controller类来控制你的用户界面的各自的部分,你分别实现你的用户界面到更小并且更容易管理的单元中。 2,UIScreen是设备的物理屏幕;UIWindow是提供在屏幕上绘画的对象;一系列的UIView执行实际绘画对象,这些对象附加到window上并在window的要求下绘制内容。   3,类关系图 下图

The Life with iOS 1617

View Controller Programming Guide for iOS---(一)---About View Controllers

About View Controllers View controllers are a vital link between an app’s data and its visual appearance. Whenever an iOS app displays a user interface, the displayed content is managed by a v...

256

0302--iOS之阅读View Controller Programming Guide for iOS---(一)the Role of view Controller

The Role of View Controllers --vc扮演的角色 View controllers are the foundation of your app’s internal structure. Every app has at le...

qq_30185503的博客 419

View Controller Programming Guide for iOS---(三)---Using View Controllers in Your App

Using View Controllers in Your App Whether you are working with view controllers provided by iOS, or with custom controllers you’ve created to show your app’s content, you use a similar set of t...

281

View Controller Programming Guide for iOS---(五)---Resource Management in View Controllers

Resource Management in View Controllers View controllers are an essential part of managing your app’s resources. View controllers allow you to break your app up into multiple parts and instantia...

240

0306--iOS之阅读View Controller Programming Guide for iOS---(三)Presentations and Trasitions

Presenting a View Controller --显示vc There are two ways to display a view controller onscreen: embed it in a container view controller or present ...

qq_30185503的博客 415

View Controller Programming Guide for iOS---(四)---Creating Custom Content View Controllers

Creating Custom Content View Controllers 创建自定义内容视图控制器 Custom content view controllers are the heart of your app. You use them to present your app’s unique content. All apps need at least one cu...

308

View Controller Programming Guide for iOS---(八)---Using View Controllers in the Responder Chain

Using View Controllers in the Responder Chain 响应链中使用视图控制器 View controllers are descendants of theUIResponderclass and are therefore capable of handling all sorts of events. When a view does...

167
上一篇: View Controller Programming Guide for iOS--(一)
下一篇: 视图编程指南View Programming Guide for iOS-1
focusjava
博客等级 码龄14年 127粉丝 528原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值