Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c @具有2个元素的协议_Objective C - Fatal编程技术网

Objective c @具有2个元素的协议

Objective c @具有2个元素的协议,objective-c,Objective C,什么是 @protocol UIPageViewControllerDelegate, UIPageViewControllerDataSource; 什么意思 这是否意味着UIPageViewControllerDelegate和UIPageViewControllerDataSource协议有一些共同的方法和属性?您在哪里找到的一些上下文将有所帮助 这看起来像是两个协议的前向声明,它们在同一个语句中并不意味着关联。与intx,y相同,并不意味着x和y之间有任何联系。您在哪里找到的上下文将有

什么是

@protocol UIPageViewControllerDelegate, UIPageViewControllerDataSource;
什么意思


这是否意味着UIPageViewControllerDelegate和UIPageViewControllerDataSource协议有一些共同的方法和属性?

您在哪里找到的一些上下文将有所帮助


这看起来像是两个协议的前向声明,它们在同一个语句中并不意味着关联。与
intx,y
相同,并不意味着x和y之间有任何联系。

您在哪里找到的上下文将有所帮助

@protocol UIPageViewControllerDelegate, UIPageViewControllerDataSource;
这看起来像是两个协议的前向声明,它们在同一个语句中并不意味着关联。与
intx相同,y
并不意味着x和y之间存在任何连接

@protocol UIPageViewControllerDelegate, UIPageViewControllerDataSource;
相当于

@protocol UIPageViewControllerDelegate;
@protocol UIPageViewControllerDataSource;
int x;
int y;
int z;
就像

int x, y, z;
相当于

@protocol UIPageViewControllerDelegate;
@protocol UIPageViewControllerDataSource;
int x;
int y;
int z;
相当于

@protocol UIPageViewControllerDelegate;
@protocol UIPageViewControllerDataSource;
int x;
int y;
int z;
就像

int x, y, z;
相当于

@protocol UIPageViewControllerDelegate;
@protocol UIPageViewControllerDataSource;
int x;
int y;
int z;